====== SPRITEHIT ====== [c64] [c128] [m65] Checks for sprite to sprite collision. ===== Function declaration ===== DECLARE FUNCTION _ SPRITEHIT AS BYTE (sprno AS BYTE) SHARED STATIC INLINE If the sprite specified by has previously come in contact with any other sprite(s), the function will return 255 (true), 0 (false) otherwise. Sprite number must be a number between 0 and 7. ===== Example ===== SPRITE CLEAR HIT DO ' LOOP UNTIL SPRITEHIT(0) PRINT "booom!!!" ===== See also ===== * [[sprites]]