Table of Contents

ugBASIC User Manual

COLLISION

SYNTAX

PURPOSE

Verify if a sprite has had a collision with another sprite. The result (0 = no collision, 1 = collision occurred) is returned as result.

EXAMPLE

 = COLLISION(#1)
 = COLLISION(newValue+1)

AVAILABLE ON

SEE ALSO

HIT