ex_camera_get_x_offset

Returns the x scroll offset for the camera

Syntax

ex_camera_get_x_offset(cameraHandle)
Argument Description
cameraHandle The camera handle
Returns the x scroll offset for the camera

Description

This function returns the camera's x offset resulting from a scroll operation. This will not return the camera's actual x position.

Example

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

Minimum Supported Version

exCamera 0.6.0