GetSpriteImpactObject
Index = GetSpriteImpactObject(SpriteIndex)
 
Parameters:

    SpriteIndex = The Index of the sprite you wish to query
Returns:

    Index = The world element index this sprite last collided with
 

      The GetSpriteImpactObject function returns Object Index that this sprite last collided with.




FACTS:


      * In Sliding Collision World mode, GetSpriteImpactObject returns the index of the element within the world buffer this sprite hit.

 
Related Info: GetSpriteCollisionWorld | GetSpriteWorldImpact | SpriteCollisionMode :
 


(c) Copyright 2002 - 2024 - Kevin Picone - PlayBASIC.com