# Tool.setCrossHairAlpha

Sets the opacity of the crosshair. An alpha value of 0 makes the crosshair transparent.

**Kind:** Function

**Environments:** Game

## Game

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

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

**Availability:** Client only

**Parameters:**

| Name | Type | Description |
| --- | --- | --- |
| `tool` | [Tool](../Game-Script-Environment/Userdata/Tool.md) | The tool. |
| `alpha` | number | The alpha value for the crosshair. |
