sm.camera.getCameraState

Gets the camera's control state.

Kind: Function

Environments: Game

Game

sm.camera.getCameraState(  )

Open the full Game reference

Availability: Client only

Returns:

Name Type Description
state integer How the camera is moved. (See sm.camera.state)