Setvirtualresolution(640,480)
ResetTimer()
//Create test sprite shape
id=CreateSprite(0)
SetSpriteColor(id,255,255,0,255)
SetSpriteSize(id,Random(10,60),Random(10,60))
SetSpritePosition(id,200,Random(20,200))
Do
Printc("Sprite Y Coord Value=")
Print(GetSpriteY(id))
Sync()
If Timer()>15 Then Exit
Loop
End
Help make AGK better by submitting an example for this command! (All examples are subject to approval)