# Equip an Item and Change Its Appearance

> For the complete documentation index, see [llms.txt](llms.txt).

Give the player a lantern that appears in their hand when equipped and on their belt when stored. Start with the character and backpack from [First Steps](inv-first-steps.html).

Procedure: Add a lantern slot to the character

1. Add a Ninja Equipment Manager Component to the character that will wear the lantern. The Inventory Manager can stay on the character or Player State. On a character with a custom mesh setup, implement the Equipment System Interface and use Get Inventory Mesh to supply the mesh that owns the sockets. Select the inventory-interface attach finder on the Equipment Manager for that setup.

2. Add a hand socket and a belt socket to that mesh's skeleton. Create a Container Definition called Container_LanternSlot with Equipment Layout. Set Default State Tag to `Inventory.Equipment.State.Equipped`. Enter your socket names in Default Equip Socket Name and Default Stored Socket Name.

3. Create a project item tag such as `Item.Gear.Lantern`. Require it in the slot's Item Compatibility Query. Add the slot to the player's Initial Containers alongside the default bag.

Procedure: Define the lantern's two appearances

1. Create Item_Lantern and add the lantern tag. Give it Container Placement, User Interface, and Equipment fragments. Give it dimensions too if the player uses a spatial bag.

2. In the Equipment Fragment, add an Equipment States entry tagged `Inventory.Equipment.State.Equipped`. Choose Actor and assign a lantern actor Blueprint with a visible mesh and light. Add a second entry tagged `Inventory.Equipment.State.Stored`. Choose a static mesh for the unlit lantern. Let both states use the layout's sockets.

3. Give the player the item in the default backpack, using a pickup or starting item. If the lantern should start in the backpack, set its placement preference to the default-container tag. Display the lantern slot with a container widget bound to Container_LanternSlot. [Drag the lantern](inv-ui-drag-and-drop.html) from the bag into that slot, or call the placement fragment's `SetContainerAndPosition` with the slot container and its single position.

For a Stow button, call the Equipment Fragment's `SetEquipmentState` on the server with the lantern item and the Stored tag. Pass the Equipped tag to draw it again. If drawing requires a skill, put the prerequisite on the Equipped state and call `EvaluatePrerequisitesForState` to explain availability in the menu. The [ability guide](inv-gameplay-abilities.html) shows how to trigger the change from a selected entry.

## Try It in Play

Move the lantern into its slot. Its light should appear at the hand socket. Stow it and check for the unlit mesh on the belt. Draw it again, then move it back into the backpack. Both worn appearances should now be gone and the bag should still contain the lantern. If it attaches at the character's origin, check the chosen parent mesh and the spelling of its sockets.

