If you don't need to move sprite, remove IF - ENDIF above WEND. I've applied "TOUCH OUT TM,TX,TY" to detect coordinates of stylus. While you don't touch bottom screen, TM will keep zero. And I've applied "SPHITRC(TX,TY,1,1)" to detect collision between stylus and sprite. If SPHITRC detects collision, SPHITRC will return the management number of the sprite.