Tool.getRelativeMoveDirection

Returns the relative movement direction of the player. This is the direction the player wants to move based on movement input.

Kind: Function

Environments: Game

Game

tool:getRelativeMoveDirection(  )

Open the full Game reference

Availability: Client only

Parameters:

Name Type Description
tool Tool The tool.

Returns:

Type Description
Vec3 The player's relative movement direction.