(AGK version: 108.15)
Submitted: 2013-07-14 14:00:56
Setvirtualresolution(640,480)
ResetTimer()
//Create test sprite cube
id=CreateSprite(0)
SetSpriteColor(id,0,255,0,255)
SetSpriteSize(id,25,25)
SetSpritePosition(id,200,Random(20,200))
Do
    Sleep(1000)
    SetSpriteVisible(id,1)
    Sync()
    Sleep(1000)
    SetSpriteVisible(id,0)
    Sync()
    If Timer()>12 Then Exit
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.