# Need help with fixing inventory carousel widget

**URL:** <https://forums.unrealengine.com/t/need-help-with-fixing-inventory-carousel-widget/2389836>\
**Category:** Programming & Scripting\
**Tags:** unreal-engine, UI, delta-time, Blueprint, question\
**Created:** [March 14, 2025, 2:59pm UTC](https://forums.unrealengine.com/t/need-help-with-fixing-inventory-carousel-widget/2389836 "2025-03-14T14:59:50Z")\
**Posts on this page:** 3\
**Page:** 1

<div class="post-metadata">

**Author:** ![SunBroThe1](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@SunBroThe1](https://forums.unrealengine.com/u/SunBroThe1)\
**Post date:** [March 14, 2025, 2:59pm UTC](https://forums.unrealengine.com/t/need-help-with-fixing-inventory-carousel-widget/2389836/1 "2025-03-14T14:59:50Z")

</div>

Good day to everyone!  
I choose to make carousel inventory system and for base i take [this](https://dev.epicgames.com/community/learning/tutorials/KJ9e/unreal-engine-arranging-widgets-in-a-circle) tutorial.  
I bind turn on mouse scroll with following blueprint layout

 ![image](https://d3kjluh73b9h9o.cloudfront.net/original/4X/1/a/e/1aea5242a90c5eb8c896169d5c3a4d5343fab51b.png)  
 ![image](https://d3kjluh73b9h9o.cloudfront.net/original/4X/3/e/1/3e161e3351413f0d75e330032b82f7505062c971.jpeg)  
 ![image](https://d3kjluh73b9h9o.cloudfront.net/original/4X/8/f/8/8f8a4ff7cff03a9b1406202d2119c56b372b2b68.jpeg)  
This is what changing in widget on mouse scroll  
 ![image](https://d3kjluh73b9h9o.cloudfront.net/original/4X/0/7/d/07de6336fafcc5041fbfa831ba3720c99a9d5c70.png)  
So the problem is in math it must stop on next item but in reality it over-spin on 30-40 degrees. In first iteration i tried change timeline’s length but it was to depended on delta time so after 3-4 turns it starts over-spin on 2-3 degrees.  
The questions is how can i fix it? Where i messed up? And how possible i can improve this?

---

<div class="post-metadata">

**Author:** ![SunBroThe1](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@SunBroThe1](https://forums.unrealengine.com/u/SunBroThe1)\
**Post date:** [March 21, 2025, 1:42pm UTC](https://forums.unrealengine.com/t/need-help-with-fixing-inventory-carousel-widget/2389836/2 "2025-03-21T13:42:16Z")

</div>

Hello again. I fixed this on monday but was only able to write a post today. So I made new canvas in which I add inventory canvas  
 ![image](https://d3kjluh73b9h9o.cloudfront.net/original/4X/1/2/9/129988ff6e39a59353e7f35b19642393980c896a.png)  
I just rotate this canvas with following code

 ![image](https://d3kjluh73b9h9o.cloudfront.net/original/4X/f/e/e/fee3d05c65a45c6136fdfc0875f58086b116a7a9.png)  
 ![image](https://d3kjluh73b9h9o.cloudfront.net/original/4X/c/f/4/cf4904c786fb0753f97caeda9011bc8a110a28ce.png)  
Here’s changes in mouse scroll code  
 ![image](https://d3kjluh73b9h9o.cloudfront.net/original/4X/8/5/d/85d26f76d188fd308454b45eb1e17cc0d863abb1.png)

---

<div class="post-metadata">

**Author:** ![system](https://d3kjluh73b9h9o.cloudfront.net/original/4X/7/1/3/713c9d3f58553f0de89543d76a8a3a2779dc9fa4.png) [@system](https://forums.unrealengine.com/u/system)\
**Post date:** [April 20, 2025, 1:42pm UTC](https://forums.unrealengine.com/t/need-help-with-fixing-inventory-carousel-widget/2389836/3 "2025-04-20T13:42:28Z")

</div>

This topic was automatically closed 30 days after the last reply. New replies are no longer allowed.
