|
|
| GetSpriteY | ||
| Ypos = GetSpriteY(SpriteIndex) | ||
| Parameters: SpriteIndex = The number of the sprite you wish to check |
||
| Returns: Ypos = The current Y position of this sprite |
||
The GetSpriteY function returns a sprites current Y 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 |