sm.camera.getDirection

Returns the direction the camera is aiming.

Kind: Function

Environments: Game

Game

sm.camera.getDirection(  )

Open the full Game reference

Availability: Client only

Returns:

Type Description
Vec3 The direction of the camera's aim.