# Play audio on loop while animation sequence is active?

**URL:** <https://forums.unrealengine.com/t/play-audio-on-loop-while-animation-sequence-is-active/406321>\
**Category:** Audio\
**Tags:** while-loop, unreal-engine, Blueprint, question\
**Created:** [October 6, 2017, 10:48am UTC](https://forums.unrealengine.com/t/play-audio-on-loop-while-animation-sequence-is-active/406321 "2017-10-06T10:48:15Z")\
**Posts on this page:** 1\
**Page:** 1

<div class="post-metadata">

**Author:** ![anonymous\_user\_99dcdf401](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@anonymous\_user\_99dcdf401](https://forums.unrealengine.com/u/anonymous_user_99dcdf401)\
**Post date:** [October 6, 2017, 10:48am UTC](https://forums.unrealengine.com/t/play-audio-on-loop-while-animation-sequence-is-active/406321/1 "2017-10-06T10:48:15Z")

</div>

Hello Everyone,

I’m trying to activate a sound file I have set to ‘looping’ so it is always active when an level animation sequence is activated. I am using the ‘isPlaying’ node for the Boolean condition for the while loop but it seems to crash every time the loop is initiated.

I just want the SFX to play every time the animation is in motion, I have a shutter moving up and down and the player may reverse the animation halfway so the sound needs to keep playing rather than resetting.

Here is my current blueprints, I don’t know what is wrong, any help would be very much appreciated!

Cheers,

 ![215853-blueprint.png](https://d3kjluh73b9h9o.cloudfront.net/original/4X/d/b/a/dba820de21c69a12aa867ef3f9d72d85489f5eac.png)
