ex_camera_set_position(cameraHandle, x, y)
| Argument | Description |
|---|---|
| cameraHandle | The camera handle |
| x | The camera's X position |
| y | The camera's Y position |
This function will set the camera's x and y position manually. This will not set the scroll offset rather than the actual x, y positions of the camera object. This function will not work if there's an active tracking object that the camera already follows.
//Set the camera's x, y position to 300, 400 ex_camera_set_position(global._camera, 300, 400);