When you set a sprite also use spcol. This command sets a hit box to a sprite, use the help button for more info. To detect a collision use sphitsp, again, help button for more information. If you have more questions, ask away.