|
GetSpriteZ | ||
Zpos = GetSpriteZ(SpriteIndex) | ||
Parameters: SpriteIndex = The index of the sprite you wish to query |
||
Returns: Zpos = The current Z position of this sprite |
||
The GetSpriteZ function returns a sprites current Z position. FACTS: * Also see PositionSprite, PositionSpriteXYZ, MoveSprite Mini Tutorial: Create a sprite, set it's XYZ positions, then read and display it's position to the screen.
This example would output.
|
Related Info: | GetSpriteOldX | GetSpriteOldY | GetSpriteOldZ | GetSpriteX | GetSpriteY | MoveSprite | MoveSpriteX | MoveSpriteY | MoveSpriteZ | PositionSprite | PositionSpriteX | PositionSpriteXYZ : |
|
|||||||||||||||||||||||||||||||||||||||
(c) Copyright 2002 - 2024 - Kevin Picone - PlayBASIC.com |