GetSpriteNextContact

Description

Cycles through the list of contacts for the given sprite only. Returns 1 if a contact exists, you can get the other sprite involved in this contact using GetSpriteContactSpriteID2, you can move on to the next contact by calling this command again, it will return 0 when no more contacts exist. Only works on sprites setup for physics.

Definition

integer GetSpriteNextContact( )