# ToolClass

A script class that is instanced for every active [Tool](../Game-Script-Environment/Userdata/Tool.md) in the game.

**Kind:** API page

**Environments:** Game

## Game

[Open the full Game reference](../Game-Script-Environment/Classes/ToolClass.md)

A tool something that a [Player](../Game-Script-Environment/Userdata/Player.md) can equip by selecting it in the hotbar. For instance the Sledgehammer.

### Fields

| Name | Type | Description |
| --- | --- | --- |
| `data` | any | Data from the "data" json element. |
| `tool` | [Tool](../Game-Script-Environment/Userdata/Tool.md) | The [Tool](../Game-Script-Environment/Userdata/Tool.md) game object belonging to this class instance. |
| `network` | [Network](../Game-Script-Environment/Userdata/Network.md) | A [Network](../Game-Script-Environment/Userdata/Network.md) object that can be used to send messages between client and server. |
| `storage` | [Storage](../Game-Script-Environment/Userdata/Storage.md) | (Server side only.) A [Storage](../Game-Script-Environment/Userdata/Storage.md) object that can be used to store data for the next time loading this object after being unloaded. |
