= HIT(#sprite) = HIT(var)
Verify if a sprite has had a collision with a tile. The result (0 = no collision, <> 0 = collision occurred) is returned as result.
Alias for COLLISION
.
IF HIT( starship ) THEN POINT AT (100,100) ENDIF
If you have encountered a problem using this command, if you think there is a bug or the explanation is unclear, please open an issue for this keyword on GitHub. Thank you!