# Tool.setBlockSprint

Sets whether the player is unable to sprint. Sprinting is normally blocked when the player is attacking, blocking, aiming, etc.

**Kind:** Function

**Environments:** Game

## Game

``` { .lua .api-signature }
tool:setBlockSprint( block )
```

[Open the full Game reference](../Game-Script-Environment/Userdata/Tool.md#setblocksprint)

**Availability:** Client only

**Parameters:**

| Name | Type | Description |
| --- | --- | --- |
| `tool` | [Tool](../Game-Script-Environment/Userdata/Tool.md) | The tool. |
| `block` | boolean | Whether the player's sprinting is blocked. |
