# Sequencer is looping every time I enter level

**URL:** <https://forums.unrealengine.com/t/sequencer-is-looping-every-time-i-enter-level/462007>\
**Category:** Cinematics & Media\
**Tags:** unreal-engine, looping, Blueprint, question\
**Created:** [March 2, 2020, 12:17pm UTC](https://forums.unrealengine.com/t/sequencer-is-looping-every-time-i-enter-level/462007 "2020-03-02T12:17:24Z")\
**Posts on this page:** 6\
**Page:** 1

<div class="post-metadata">

**Author:** ![Geo-GC](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@Geo-GC](https://forums.unrealengine.com/u/Geo-GC)\
**Post date:** [March 2, 2020, 12:17pm UTC](https://forums.unrealengine.com/t/sequencer-is-looping-every-time-i-enter-level/462007/1 "2020-03-02T12:17:24Z")

</div>

How can I stop a sequencer from repeating itself all the time when you enter a specific level? I have a sequencer playing at the start (Begin Play) when you open the level, however I want it to play only once and never again, not repeat itself every time I enter the specific level. If I leave the level and then re-enter the level, it will play the sequencer again and I dont want that. I tried using the Do Once node but without any success.

---

<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:** [March 2, 2020, 2:22pm UTC](https://forums.unrealengine.com/t/sequencer-is-looping-every-time-i-enter-level/462007/2 "2020-03-02T14:22:34Z")

</div>

You can set playback position in the level BP ( to the end ).

---

<div class="post-metadata">

**Author:** ![anonymous\_user\_fa23c787](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@anonymous\_user\_fa23c787](https://forums.unrealengine.com/u/anonymous_user_fa23c787)\
**Post date:** [March 2, 2020, 4:57pm UTC](https://forums.unrealengine.com/t/sequencer-is-looping-every-time-i-enter-level/462007/3 "2020-03-02T16:57:31Z")

</div>

Hello Geo-GC,

I would recommend creating a boolean variable “SequenceHasPlayed”. Make sure the Default Value in the “Details” panel is unchecked (set to false). Create and plug a “!=” node into the condition section of a new “Branch” node. Ctrl+Drag the “SequenceHasPlayed” variable into the blueprint and hook it to the top half of the “!=” node. Mark the checkbox at the bottom of the “!=” node.

Hook the end of your Begin Play chain to the front of the Branch node. Hook your “Play Sequence” node to the end of the Branch. Alt+Drag your “SequenceHasPlayed” variable into the blueprint to create a “Set” node. Set the variable to True when you play the level for the first time.

This should keep your sequence from playing beyond the first time you enter the level.

---

<div class="post-metadata">

**Author:** ![Geo-GC](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@Geo-GC](https://forums.unrealengine.com/u/Geo-GC)\
**Post date:** [March 2, 2020, 5:48pm UTC](https://forums.unrealengine.com/t/sequencer-is-looping-every-time-i-enter-level/462007/4 "2020-03-02T17:48:28Z")

</div>

Hey thanks for the detailed help. I am pretty sure I think I am doing something wrong tho since it’s a bit confusing.

 ![297172-ue4editor-2020-03-02-18-45-26.png](https://d3kjluh73b9h9o.cloudfront.net/original/4X/5/3/3/5334d93f4f2eeddc86e874fc74c6efbcc83cd7e2.png)

---

<div class="post-metadata">

**Author:** ![anonymous\_user\_fa23c787](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@anonymous\_user\_fa23c787](https://forums.unrealengine.com/u/anonymous_user_fa23c787)\
**Post date:** [March 2, 2020, 6:05pm UTC](https://forums.unrealengine.com/t/sequencer-is-looping-every-time-i-enter-level/462007/5 "2020-03-02T18:05:26Z")

</div>

If it’s not essential, I’d recommend triggering the sequence from a different blueprint. Fewer nodes that will be needed if you use an actor blueprint with a collision volume. Open up a new thread if run into any new issues.

-

---

<div class="post-metadata">

**Author:** ![sequencermatt](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@sequencermatt](https://forums.unrealengine.com/u/sequencermatt)\
**Post date:** [March 2, 2020, 10:42pm UTC](https://forums.unrealengine.com/t/sequencer-is-looping-every-time-i-enter-level/462007/6 "2020-03-02T22:42:56Z")

</div>

To make this work across level transitions you will need to store the state somewhere (such a saved game) and then on BeginPlay check the saved state to see if it should play. I recommend disabling auto-play on the Level Sequence Actor (or skip creating it entirely!) and loading the saved game slot and checking the boolean before you create/play it.
