sm.localPlayer.getWantsSprint
Checks if local player wants to sprint (pressing the sprint key).
Kind: Function
Environments: Game
Game
sm.localPlayer.getWantsSprint( )
Availability: Client only
Returns:
| Type | Description |
|---|---|
| boolean | Whether the player is holding the sprint key. |