sm.localPlayer.getWantsSprint

Checks if local player wants to sprint (pressing the sprint key).

Kind: Function

Environments: Game

Game

sm.localPlayer.getWantsSprint(  )

Open the full Game reference

Availability: Client only

Returns:

Type Description
boolean Whether the player is holding the sprint key.