# IconBar (of `Set`)

class `IconBar`

  Defined in IconItem.sc.

  A class that manages the icon bar at the top of the screen in the template game.

Subclasses: `InventoryBase`, `GameControls`.

## Properties

Inherited from `Set`:

Property | Description
--- | ---
elements |
size |
name |

Defined in IconBar:

Property | Description
--- | ---
height |
underBits |
oldMouseX |
oldMouseY |
curIcon |
highlightedIcon |
prevIcon |
curInvIcon |
useIconItem |
helpIconItem |
walkIconItem |
port |
window |
state |
activateHeight |
y |

## Methods

`doit`()

`handleEvent`(pEvent)

`show`()

`hide`()

`advance`()

`retreat`()

`select`(theCurIcon [fProcessEvents])

`highlight`(theHighlightedIcon param2)

`swapCurIcon`()

`advanceCurIcon`()

`dispatchEvent`(pEvent)

`disable`(param1)

`enable`(param1)

`noClickHelp`()

`findIcon`(param1)