Setvirtualresolution(640,480) ResetTimer() //Create test sprite cube id=CreateSprite(0) SetSpriteColor(id,Random(10,255),Random(10,255),Random(10,255),Random(10,255)) SetSpriteSize(id,50,50) SetSpritePosition(id,200,200) Do Printc("Sprite Green Value=") Print(GetSpriteColorGreen(id)) Sync() If Timer()>15 Then Exit Loop End