What it does
draw.setPrintColor sets PrintColor on a draw object. It takes r, g, b and a. a is optional.
Signature
draw.setPrintColor(r, g, b, a?)Arguments
rgbaoptional
Example · generated
function start() { draw.setPrintColor(1, 0.8, 0.4);}draw.setPrintColor is called with values of the shape its signature asks for. The code sits in start(), which the engine calls once, when the entity spawns.