# Gear Layouts The `Gear Layouts` is a handler for game gear. "Gear" refers to as any equippable item in the game. You can configure gear manually but the recommended way is to use {ref}`Gear Form`. - - - ## TGearItem Alias type for a {ref}`TItem` that is equippable. This doesn't have much use other than {ref}`GearItem.Interact` that comes next which can be very handy. - - - ## GearItem.Interact ```pascal function TGearItem.Interact(option: String = ''; attempts: Int32 = 2): Boolean; ``` Interact with the `TGearItem` regardless of it being on the {ref}`Inventory` or {ref}`Equipment` with the least amount of gametab switches possible. Example: ```pascal ring.Interact('Rub'); ``` Because {ref}`TGearItem` have few use cases, you are probably using {ref}`TItem` instead. You can still easily use this by casting: ```pascal TGearItem(ring).Interact('Rub'); ``` - - - ## TGear Type that represents a gear layout. - - - ## Gear.ToJSON ```pascal function TGear.ToJSON(): TJSONItem; ``` Convert the `TGear` into a `TJSONItem`. - - - ## TGearLayout Main type for the {ref}`Gear Layouts`. - - - ## GearLayout.Equip ```pascal function TGearLayout.Equip(): Boolean; ``` Attempts to equip a `GearLayout`. - - - ## GearLayout.Withdraw ```pascal function TGearLayout.Withdraw(): Boolean; ``` Attempts to withdraw a `GearLayout` from the {ref}`Bank`.