# Tool.isLocal

Returns whether the player holding the tool is the as [sm.localPlayer](../Game-Script-Environment/Static-Functions/sm.localPlayer.md).

**Kind:** Function

**Environments:** Game

## Game

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

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

**Availability:** Client only

**Parameters:**

| Name | Type | Description |
| --- | --- | --- |
| `tool` | [Tool](../Game-Script-Environment/Userdata/Tool.md) | The tool. |

**Returns:**

| Type | Description |
| --- | --- |
| boolean | Whether the player is the local player. |
