spriteHit()

Check collision between sprites. It allow two different syntaxes.

Syntax:
variable = spriteHit( sprite A , sprite B )

Returns 1 if sprite
spriteA collide with sprite spriteB

Syntax:
variable = spriteHit( sprite )

Returns 1 if
sprite collide any other sprite.

Example: