What it does
highlight.addMesh adds Mesh on a highlight object. It takes meshId, r, g and b.
Signature
highlight.addMesh(meshId, r, g, b)Arguments
meshIdrgb
Example · generated
function start() { highlight.addMesh('main', 1, 0.8, 0.4);}highlight.addMesh 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.