|
|
| GetSpriteHeight | ||
| Height = GetSpriteHeight(SpriteIndex) | ||
| Parameters: SpriteIndex = The number of the sprite you wish to check |
||
| Returns: Height= The Height in pixels of this sprites image |
||
GetSpriteHeight returns the current height of this sprite in pixels. The sprites height is taken from them it's currently assigned image. FACTS: * If the sprite hasn't been assigned an image (see SpriteImage) this function will return zero. Mini Tutorial: Create a sprite, create an assign it an image, then read and display the current size of the image and sprite.
This example would output.
|
| Related Info: | GetSpriteImage | GetSpriteWidth | SpriteImage : |
|
|
|||||||||||||||||||||||||||||||||||||||
|
(c) Copyright 2002 - 2026 - Kevin Picone - PlayBASIC.com |