SecondBASIC Documentation v3
Home
/
Function Reference
/
SpritePosY()
SpritePosY()
Description:
Returns the y-coordinate of the <sprite>.
Syntax:
SpritePosY(<sprite>)
Part
Description
<sprite>
Required. This is the variable that was used with the AddSprite() function
Example:
a = AddSprite(1,1)
PropSprite a,1, 0
MoveSprite a, 200, 200
Print SpritePosY(a)