# can someone help me find the problem here  

**URL:** <https://forums.unrealengine.com/t/can-someone-help-me-find-the-problem-here/2765222>\
**Category:** Blueprint\
**Tags:** unreal-engine, Blueprint, question\
**Created:** [September 13, 2026, 1:55pm UTC](https://forums.unrealengine.com/t/can-someone-help-me-find-the-problem-here/2765222 "2026-09-13T13:55:34Z")\
**Posts on this page:** 7\
**Page:** 1

<div class="post-metadata">

**Author:** ![The\_SiNNeR1](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@The\_SiNNeR1](https://forums.unrealengine.com/u/The_SiNNeR1)\
**Post date:** [September 13, 2026, 1:55pm UTC](https://forums.unrealengine.com/t/can-someone-help-me-find-the-problem-here/2765222/1 "2026-09-13T13:55:35Z")

</div>

![{B1107B73-6206-4C98-8B7E-E49F6946F027}](https://d3kjluh73b9h9o.cloudfront.net/original/4X/4/3/d/43df6fe57e631831da46d1c735ee3b541eb3563a.png)ok so this the part of my blueprint that the character when put a bottle back this function will look from last to first to see a invis bottle and make their visibility true but it doesnt work ,it was working a few days ago but now it doesnt work ,and in the tick node if put it like this in the image (first index =length -1 and last index=0) it will give me 0 as result and if reverse this it would give me -1 how can i fix this i used ai it didnt do anything i watched bunch of videos and im really stuck please can someone help me with this

---

<div class="post-metadata">

**Author:** ![Vahab](https://d1ap1mz92jnks1.cloudfront.net/user_avatar/forums.unrealengine.com/vahab/32/1148756_2.png) [@Vahab](https://forums.unrealengine.com/u/Vahab)\
**Post date:** [September 13, 2026, 4:49pm UTC](https://forums.unrealengine.com/t/can-someone-help-me-find-the-problem-here/2765222/2 "2026-09-13T16:49:37Z")

</div>

Tracking the issue based on your blueprint graph is difficult, but at first glance, this subtraction seems redundant.

Let’s do a simple check:  
First index = (length -1)

Current index = would be (length -1)

So the result is 0

 ![image](https://d3kjluh73b9h9o.cloudfront.net/original/4X/c/1/1/c118b9e9608912043a808366c6829a093b0aeb94.png)

---

<div class="post-metadata">

**Author:** ![KryogenicGames](https://d1ap1mz92jnks1.cloudfront.net/user_avatar/forums.unrealengine.com/kryogenicgames/32/1201049_2.png) [@KryogenicGames](https://forums.unrealengine.com/u/KryogenicGames)\
**Post date:** [September 13, 2026, 8:35pm UTC](https://forums.unrealengine.com/t/can-someone-help-me-find-the-problem-here/2765222/3 "2026-09-13T20:35:27Z")

</div>

i think there is **Reverse For Loop** , maybe that would be better to use to reverse scan array

---

<div class="post-metadata">

**Author:** ![The\_SiNNeR1](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@The\_SiNNeR1](https://forums.unrealengine.com/u/The_SiNNeR1)\
**Post date:** [September 14, 2026, 12:52am UTC](https://forums.unrealengine.com/t/can-someone-help-me-find-the-problem-here/2765222/4 "2026-09-14T00:52:27Z")

</div>

now it shows the number nine it doesnt go all the way to number 1 (or in array 0) it stops at 9

 ![{7C65833C-34ED-4A94-B32A-35832EA36792}](https://d3kjluh73b9h9o.cloudfront.net/original/4X/5/a/b/5ab2d6130a25f2dd7e085f5b64de6f0de20710e4.png)

---

<div class="post-metadata">

**Author:** ![illspiritx](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@illspiritx](https://forums.unrealengine.com/u/illspiritx)\
**Post date:** [September 14, 2026, 4:01am UTC](https://forums.unrealengine.com/t/can-someone-help-me-find-the-problem-here/2765222/5 "2026-09-14T04:01:37Z")

</div>

There is, and it should be just what OP needs.

---

<div class="post-metadata">

**Author:** ![Vahab](https://d1ap1mz92jnks1.cloudfront.net/user_avatar/forums.unrealengine.com/vahab/32/1148756_2.png) [@Vahab](https://forums.unrealengine.com/u/Vahab)\
**Post date:** [September 14, 2026, 11:46am UTC](https://forums.unrealengine.com/t/can-someone-help-me-find-the-problem-here/2765222/6 "2026-09-14T11:46:38Z")

</div>

So the issue is something else, as I said before, it would be really hard to track the issue with a partially shared of the blueprint graph, i would suggest to put a Breakpoint there and debug it

---

<div class="post-metadata">

**Author:** ![The\_SiNNeR1](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@The\_SiNNeR1](https://forums.unrealengine.com/u/The_SiNNeR1)\
**Post date:** [September 22, 2026, 5:03am UTC](https://forums.unrealengine.com/t/can-someone-help-me-find-the-problem-here/2765222/7 "2026-09-22T05:03:15Z")

</div>

thank you for your help i used reverse for loop and it fixed it ,still has problem the it spawn 2 bottle insted of one but the problem of putting back the bottle is fixed at least ,again thank you
