# Infinite Loop

**URL:** <https://forums.unrealengine.com/t/infinite-loop/474569>\
**Category:** Audio\
**Tags:** infinite-loop, unreal-engine, loop, UE4, Blueprint, question\
**Created:** [November 16, 2020, 3:47pm UTC](https://forums.unrealengine.com/t/infinite-loop/474569 "2020-11-16T15:47:20Z")\
**Posts on this page:** 2\
**Page:** 1

<div class="post-metadata">

**Author:** ![Sacco908](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@Sacco908](https://forums.unrealengine.com/u/Sacco908)\
**Post date:** [November 16, 2020, 3:47pm UTC](https://forums.unrealengine.com/t/infinite-loop/474569/1 "2020-11-16T15:47:20Z")

</div>

![322218-905.png](https://d3kjluh73b9h9o.cloudfront.net/original/4X/0/c/a/0cae8e68b9a388faa1a073658692562c4e8e58df.png)

Hi  
I have such a blueprint and I have a problem with endless loops  
Can someone help me determine where I have the error or how to set the laser to reflect only, for example, 100 times to avoid this loop?

---

<div class="post-metadata">

**Author:** ![ClockworkOcean](https://d1ap1mz92jnks1.cloudfront.net/user_avatar/forums.unrealengine.com/clockworkocean/32/1169999_2.png) [@ClockworkOcean](https://forums.unrealengine.com/u/ClockworkOcean)\
**Post date:** [November 16, 2020, 8:45pm UTC](https://forums.unrealengine.com/t/infinite-loop/474569/2 "2020-11-16T20:45:46Z")

</div>

Put a counter in. Add one each time around the loop, when it gets to 100, exit.

 ![322250-screenshot-2.jpg](https://d3kjluh73b9h9o.cloudfront.net/original/4X/9/3/f/93f0f4272c59de351b58051f4532e636a3aa1d47.jpeg)
