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