Background Colour

Monkey Forums/Monkey Programming/Background Colour

Bartley(Posted 2015) [#1]
Can anyone supply me with the code to change the background colour of the stage?


therevills(Posted 2015) [#2]
Check out the Cls command:

http://www.monkey-x.com/docs/html/Modules_mojo.graphics.html#Cls

Function Cls : Int ( r:Float=0, g:Float=0, b:Float=0 )


For example to change the background to red:
Cls(255, 0, 0)