Skip to content

camera_set

Set the position of the main camera. Pass a camera from camera_create first to set that camera instead. Available as camera_set after import_globals() or mv.camera.set.

Parameters

  • x — New x.
  • y — New y.
camera_set(100, 50)

Related: camera_move, camera_follow, mv.camera.position.

See the cameras guide for more examples and limits.