Function
camPos
(pos: Vec2): Vec2param pos- The position to set the camera to.
deprecated Use
// camera follows player
player.onUpdate(() => {
camPos(player.pos)
})returns The current camera position.
since v2000.0
group Rendering
subgroup Camera