|
GetSpriteCollisionDebug | ||
State = GetSpriteCollisionDebug(SpriteNumber) | ||
Parameters: SpriteNumber = The Index of the sprite you wish to query |
||
Returns: State = The Sprites Collision Debug State (0=OFF, 1=ON) |
||
The GetSpriteCollisionDebug function returns the sprites current collision debug setting. The function will return a True(1) when enabled, and a False when it's disabled. FACTS: * See SpriteCollisionDebug & SpriteCollisionMode Mini Tutorial: This example creates a sprite, then displays the default collision state, collision class,Collision mode and debug state values from it.
This example would output.
|
Related Info: | GetSpriteCollision | SpriteCollision | SpriteCollisionClass | SpriteCollisionDebug | SpriteCollisionMode : |
|
|||||||||||||||||||||||||||||||||||||||
(c) Copyright 2002 - 2024 - Kevin Picone - PlayBASIC.com |