|
GetSpriteOldX | ||
Xpos = GetSpriteOldX(SpriteIndex) | ||
Parameters: SpriteIndex = The number of the sprite you wish to check |
||
Returns: Xpos = The old X position of this sprite |
||
The GetSpriteOldX function reads a sprites old X position. The old position was it's lcoation before it was moved or repositioned. FACTS: * See PositionSprite, MoveSprite Mini Tutorial: Create a sprite, set it's XYZ positions, then read and display its position to the screen.
This example would output.
|
Related Info: | GetSpriteX | GetSpriteY | GetSpriteZ | MoveSprite | MoveSpriteX | PositionSprite | PositionSpriteX | PositionSpriteXYZ : |
|
|||||||||||||||||||||||||||||||||||||||
(c) Copyright 2002 - 2024 - Kevin Picone - PlayBASIC.com |