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