|
|
| GetSpriteX | ||
| Xpos = GetSpriteX(SpriteIndex) | ||
| Parameters: SpriteIndex = The index of the sprite you wish to query |
||
| Returns: Xpos = The current X position of this sprite |
||
The GetSpriteX function returns a sprites current X position. FACTS: * Also 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.
|
|
|
|||||||||||||||||||||||||||||||||||||||
|
(c) Copyright 2002 - 2026 - Kevin Picone - PlayBASIC.com |