# Day 10 - Item Usage System in C++ (Unreal Engine 5)

**URL:** <https://forums.unrealengine.com/t/day-10-item-usage-system-in-c-unreal-engine-5/2849954>\
**Category:** C++\
**Tags:** unreal-engine, CPP\
**Created:** [November 4, 2026, 11:20am UTC](https://forums.unrealengine.com/t/day-10-item-usage-system-in-c-unreal-engine-5/2849954 "2026-11-04T11:20:57Z")\
**Posts on this page:** 4\
**Page:** 1

<div class="post-metadata">

**Author:** ![kevinpc\_1](https://d1ap1mz92jnks1.cloudfront.net/user_avatar/forums.unrealengine.com/kevinpc_1/32/1215238_2.png) [@kevinpc\_1](https://forums.unrealengine.com/u/kevinpc_1)\
**Post date:** [November 4, 2026, 11:20am UTC](https://forums.unrealengine.com/t/day-10-item-usage-system-in-c-unreal-engine-5/2849954/1 "2026-11-04T11:20:57Z")

</div>

Hello everyone,

I’ve just completed Day 10 of my Unreal Engine 5 Gameplay Engineer journey.

Today I implemented an Item Usage System completely in C++.

Features implemented:

✅ IA\_UseItem Input Action

✅ Enhanced Input Integration

✅ UseEquippedItem Function

✅ Inventory Integration

✅ Equipment Integration

✅ Item Usage Logic

Current gameplay flow:

Collect Item

↓

Add To Inventory

↓

Equip Item

↓

Use Item

Example output:

Equipped: Coin

Added Item: Coin

Inventory Size: 1

Current Equipped Item: Coin

Collected: Coin

Using: Coin

Current project systems:

🎮 Day 1 - First C++ Actor

🎮 Day 2 - Character Movement

🎮 Day 3 - Health System

🎮 Day 4 - Sprint System

🎮 Day 5 - Double Jump

🎮 Day 6 - Interaction System

🎮 Day 7 - Collectible Items System

🎮 Day 8 - Inventory System

🎮 Day 9 - Equipment System

🎮 Day 10 - Item Usage System

Video:

Video day 10:[https://youtu.be/PvTTDKDEbLQ](https://youtu.be/PvTTDKDEbLQ)

I’m building every gameplay system from scratch using Unreal Engine 5 and C++ while documenting my journey to become a Gameplay Engineer.

Any feedback, suggestions, or code review comments are welcome.

Thank you!

---

<div class="post-metadata">

**Author:** ![VsquadArt](https://d1ap1mz92jnks1.cloudfront.net/user_avatar/forums.unrealengine.com/vsquadart/32/1219163_2.png) [@VsquadArt](https://forums.unrealengine.com/u/VsquadArt)\
**Post date:** [November 5, 2026, 6:00pm UTC](https://forums.unrealengine.com/t/day-10-item-usage-system-in-c-unreal-engine-5/2849954/2 "2026-11-05T18:00:07Z")

</div>

One edge case worth checking in UseEquippedItem is calling it when no item is equipped, such as after the last consumable is used.

For consumables, consider removing one from the inventory only after the item effect succeeds, and clearing the equipped reference if the stack is depleted.

---

<div class="post-metadata">

**Author:** ![kevinpc\_1](https://d1ap1mz92jnks1.cloudfront.net/user_avatar/forums.unrealengine.com/kevinpc_1/32/1215238_2.png) [@kevinpc\_1](https://forums.unrealengine.com/u/kevinpc_1)\
**Post date:** [November 5, 2026, 6:10pm UTC](https://forums.unrealengine.com/t/day-10-item-usage-system-in-c-unreal-engine-5/2849954/3 "2026-11-05T18:10:59Z")

</div>

Thank you for you support.

---

<div class="post-metadata">

**Author:** ![kevinpc\_1](https://d1ap1mz92jnks1.cloudfront.net/user_avatar/forums.unrealengine.com/kevinpc_1/32/1215238_2.png) [@kevinpc\_1](https://forums.unrealengine.com/u/kevinpc_1)\
**Post date:** [November 6, 2026, 11:25am UTC](https://forums.unrealengine.com/t/day-10-item-usage-system-in-c-unreal-engine-5/2849954/4 "2026-11-06T11:25:54Z")

</div>

Look, I made the video about what you told me. Tell me if you like it or if it’s correct.[https://youtu.be/Sd1Jw0DJS58](https://youtu.be/Sd1Jw0DJS58)
