(AGK version: 108.15)
Submitted: 2013-07-13 17:00:30
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)
Login to post an example of your own.