What it does
color.toRGB takes c.
Signature
color.toRGB(c)Arguments
c
Example · generated
function start() { color.toRGB(1);}color.toRGB 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.