sm.localPlayer.getDirection

Returns the direction the local player is aiming.

Kind: Function

Environments: Game

Game

sm.localPlayer.getDirection(  )

Open the full Game reference

Availability: Client only

Returns:

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