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