# Gear Layouts The `Gear Layouts` is a handler for OSRS 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`. - - - ## TRSGearItem Alias type for a {ref}`TRSItem` 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 TRSGearItem.Interact(option: String = ''; attempts: Int32 = 2): Boolean; ``` Interact with the `TRSGearItem` 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}`TRSGearItem` have few use cases, you are probably using {ref}`TRSItem` instead. You can still easily use this by casting: ```pascal TRSGearItem(ring).Interact('Rub'); ``` - - - ## TRSGear Type that represents a gear layout. - - - ## Gear.ToJSON ```pascal function TRSGear.ToJSON(): TJSONItem; ``` Convert the `TRSGear` into a `TJSONItem`. - - - ## TRSGearLayout Main type for the {ref}`Gear Layouts`. - - - ## GearLayout.Equip ```pascal function TRSGearLayout.Equip(): Boolean; ``` Attempts to equip a `GearLayout`. - - - ## GearLayout.Withdraw ```pascal function TRSGearLayout.Withdraw(): Boolean; ``` Attempts to withdraw a `GearLayout` from the {ref}`Bank`.