Setvirtualresolution(640,480)
ResetTimer()
//Create test sprite cube
id=CreateSprite(0)
SetSpriteColor(id,0,255,0,255)
SetSpriteSize(id,25,25)
SetSpriteActive(id,0)
Do
If GetSpriteActive(id)=1
Print("Sprite is Active")
ElseIf GetSpriteActive(id)=0
Print("Sprite In-Active")
EndIf
If Timer()>12 Then Exit
Sync()
Loop
End
Help make AGK better by submitting an example for this command! (All examples are subject to approval)