# sm.localPlayer.getWantsSprint

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

**Kind:** Function

**Environments:** Game

## Game

``` { .lua .api-signature }
sm.localPlayer.getWantsSprint(  )
```

[Open the full Game reference](../Game-Script-Environment/Static-Functions/sm.localPlayer.md#getwantssprint)

**Availability:** Client only

**Returns:**

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