sm.camera.setCameraState

Sets the camera's control state.

Kind: Function

Environments: Game

Game

sm.camera.setCameraState( state )

Open the full Game reference

Availability: Client only

Parameters:

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