What it does
camera.setPosition sets Position on a camera object. It takes x, y and z.
Signature
camera.setPosition(x, y, z)Arguments
xyz
Example · generated
function start() { camera.setPosition(0, 2, 0);}camera.setPosition 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.