(AGK version: 108.16)
Submitted: 2013-08-08 09:58:43
Setvirtualresolution(640,480)
ResetTimer()
//Create an image
swap()
SetPrintSize(28)
SetPrintColor(255,255,0)
Print("A")
render()
GetImage(1,0,0,32,32)
//Save Image to File
SaveImage(1,"temp.png")
//Delete Original Image
DeleteImage(1)
//Re-load the image and create a sprite
LoadImage(1,"temp.png")
CreateSprite(1,1)
Do
    SetSpritePosition(1,Random(0,600),Random(0,400))
    Sync()
    Sleep(250)
    If Timer()>10 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.