|
GetSpriteStatus | ||
Flag = GetSpriteStatus(SpriteIndex) | ||
Parameters: SpriteIndex = The number of the sprite you wish to check |
||
Returns: Flag = The status of this sprite (0 = Doesn't exist) (1= created) |
||
The GetSpriteStatus function returns if sprite index number is currectly in use or not. FACTS: * The status will be returned as either a True (Sprite Created & In use) or False (Doesn't exist). * See CreateSprite, DeleteSprite Mini Tutorial: This example displays the status of sprite index #1, both before and after the sprite is created.
This example would output.
|
Related Info: | CreateSprite | DeleteSprite | GetFirstSprite | GetFreeSprite | NewSprite : |
|
|||||||||||||||||||||||||||||||||||||||
(c) Copyright 2002 - 2024 - Kevin Picone - PlayBASIC.com |