# Problem whith a while loop

**URL:** <https://forums.unrealengine.com/t/problem-whith-a-while-loop/222098>\
**Category:** Blueprint\
**Tags:** unreal-engine\
**Created:** [December 13, 2019, 11:02am UTC](https://forums.unrealengine.com/t/problem-whith-a-while-loop/222098 "2019-12-13T11:02:58Z")\
**Posts on this page:** 1\
**Page:** 1

<div class="post-metadata">

**Author:** ![anonymous\_user\_fd83f0461](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@anonymous\_user\_fd83f0461](https://forums.unrealengine.com/u/anonymous_user_fd83f0461)\
**Post date:** [December 13, 2019, 11:02am UTC](https://forums.unrealengine.com/t/problem-whith-a-while-loop/222098/1 "2019-12-13T11:02:58Z")

</div>

Hi to everyone, this is my first post on this forum. I came from c++ scripting and this is the first time that i use the visual Scripting of Ue4. The problem I have is that when I try to start the project I get an error message that warns me that the while loop is infinite. The logic I used is the same one that I would use for a very banal while loop in c but here it doesn’t seem to work. I thank anyone who can help you understand the error and resolve it. I’m going to leave an image of the code I made. Thank you all
