ex_camera_get_x(cameraHandle)
| Argument | Description |
|---|---|
| cameraHandle | The camera handle |
This function returns the camera's x position. This will not return the scroll offset but the actual x position instead.
//Return the camera's x position and store it in variable "_value" _value = ex_camera_get_x(global._camera);