--- id: camera-set name: Camera.set category: camera kind: namespace-method tokens: Camera.set sig: Camera.set(x, y) tip: Place the camera at a world-space offset. order: 1 ns: Camera member: set --- Sets the camera offset directly: a world point (wx, wy) draws on screen at (wx - x, wy - y). The same control as Screen.camera, under the Camera namespace. Use it to snap the view, or as the base that Camera.follow and Camera.shake build on. ```ludic program Demo { property Position { x: int = 0, y: int = 0 } model Player { Position } handler DrawWorld phase Render { Camera.set(Position.x - 160, Position.y - 120) Screen.show() } } ```