ex_camera_get_x

Returns the x position for the camera

Syntax

ex_camera_get_x(cameraHandle)
Argument Description
cameraHandle The camera handle
Returns the x position for the camera

Description

This function returns the camera's x position. This will not return the scroll offset but the actual x position instead.

Example

//Return the camera's x position and store it in variable "_value"
_value = ex_camera_get_x(global._camera);

Minimum Supported Version

exCamera 0.5.0