# Lyra - Increase Number of Quick Slots

**URL:** <https://forums.unrealengine.com/t/lyra-increase-number-of-quick-slots/544982>\
**Category:** UI\
**Tags:** unreal-engine, UE5-0, Widget, question\
**Created:** [April 30, 2022, 3:57pm UTC](https://forums.unrealengine.com/t/lyra-increase-number-of-quick-slots/544982 "2022-04-30T15:57:14Z")\
**Posts on this page:** 4\
**Page:** 1

<div class="post-metadata">

**Author:** ![Space\_Grouse](https://d1ap1mz92jnks1.cloudfront.net/user_avatar/forums.unrealengine.com/space_grouse/32/642211_2.png) [@Space\_Grouse](https://forums.unrealengine.com/u/Space_Grouse)\
**Post date:** [April 30, 2022, 3:57pm UTC](https://forums.unrealengine.com/t/lyra-increase-number-of-quick-slots/544982/1 "2022-04-30T15:57:14Z")

</div>

How do I increase the number of quick slots in Lyra? I can add quickbar slots to the quickbar, and set their slot indexes to a higher number (\>2), but when the gameplay ability (GA\_QuickbarSlots) cycles forward or backward it only cycles between slots 0-2. When I go to GA\_QuickbarSlots → get quickbar → get slots → length, the length is always 3.

(Note: I disconnected the quickslots from the weapons so I can cycle between slots 0-2 wether or not there is a weapon associated with that slot, but I want to cycle between 0-9).

---

<div class="post-metadata">

**Author:** ![13tisa13](https://d1ap1mz92jnks1.cloudfront.net/user_avatar/forums.unrealengine.com/13tisa13/32/947059_2.png) [@13tisa13](https://forums.unrealengine.com/u/13tisa13)\
**Post date:** [December 10, 2022, 11:32am UTC](https://forums.unrealengine.com/t/lyra-increase-number-of-quick-slots/544982/2 "2022-12-10T11:32:06Z")

</div>

In LyraQuickBarComponent.h there is a property called NumSlots and it’s set to 3.

```
UPROPERTY()
int32 NumSlots = 3;

```

So eighter increase it to your desired number or create another int32 variable and expose it to BP so you can change it in the editor.

---

<div class="post-metadata">

**Author:** ![Zulua](https://d1ap1mz92jnks1.cloudfront.net/user_avatar/forums.unrealengine.com/zulua/32/627155_2.png) [@Zulua](https://forums.unrealengine.com/u/Zulua)\
**Post date:** [February 21, 2023, 9:02pm UTC](https://forums.unrealengine.com/t/lyra-increase-number-of-quick-slots/544982/3 "2023-02-21T21:02:28Z")

</div>

Thanks @13tisa13 I follow what you say but no change in Lyra.  
Can you be more precise please?

---

<div class="post-metadata">

**Author:** ![13tisa13](https://d1ap1mz92jnks1.cloudfront.net/user_avatar/forums.unrealengine.com/13tisa13/32/947059_2.png) [@13tisa13](https://forums.unrealengine.com/u/13tisa13)\
**Post date:** [March 9, 2023, 2:32pm UTC](https://forums.unrealengine.com/t/lyra-increase-number-of-quick-slots/544982/4 "2023-03-09T14:32:27Z")

</div>

Sure, you have to open Lyra in Visual Studio ( C++ ), find LyraQuickBarComponent.h file and open it.  
Inside you will see " int32 NumSlots = 3; ", change the 3 to whatever slot number you like. Build/Compile and that’s it!
