SpritePosY()
Previous  Next

Description: Returns the y-coordinate of the <Sprite>.

     Syntax:
     
SpritePosY(<Sprite>)

Part
Description
<Sprite>
Required. This is the variable that was set as a sprite with the AddSprite and ProprSprite commands.

Example:

        a = AddSprite(1,1)
        PropSprite a,1, 0
        MoveSprite a, 200, 200
        Print SpritePosY(a)