What it does
light.createPoint creates a Point in light. It takes id, x, y and z.
Signature
light.createPoint(id, x, y, z)Arguments
idxyz
Example · generated
function start() { light.createPoint('point', 0, 2, 0);}light.createPoint 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.