# GuiInterface.compassRemoveIcon

Remove an icon from the compass.

**Kind:** Function

**Environments:** Game

## Game

``` { .lua .api-signature }
guiInterface:compassRemoveIcon( iconName )
```

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

**Availability:** Client only

**Parameters:**

| Name | Type | Description |
| --- | --- | --- |
| `compassHud` | [GuiInterface](../Game-Script-Environment/Userdata/GuiInterface.md) | The compass hud GUI. |
| `iconName` | string | Name of a compass icon. |
