# Set Paused Not Working after Audio Component Variable Change

**URL:** <https://forums.unrealengine.com/t/set-paused-not-working-after-audio-component-variable-change/485309>\
**Category:** Audio\
**Tags:** unreal-engine, loop, pause, question\
**Created:** [June 24, 2021, 1:37pm UTC](https://forums.unrealengine.com/t/set-paused-not-working-after-audio-component-variable-change/485309 "2021-06-24T13:37:06Z")\
**Posts on this page:** 1\
**Page:** 1

<div class="post-metadata">

**Author:** ![pheeeeno](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@pheeeeno](https://forums.unrealengine.com/u/pheeeeno)\
**Post date:** [June 24, 2021, 1:37pm UTC](https://forums.unrealengine.com/t/set-paused-not-working-after-audio-component-variable-change/485309/1 "2021-06-24T13:37:06Z")

</div>

I have a CD player system where a play/pause button will stop and start an audio component through the Set Paused node. The system works fine until I update the audio component variable. I can successfully print string the updated content in the audio component prior to the Set Paused node.

“Touched” is the Play/Pause event, and “Loop” is the audio component. The third picture is how I am updating the audio component. I update a sound cue variable that is used to spawn a sound that is set to the loop component.

 ![342322-screen-shot-2021-06-24-at-92253-am.jpg](https://d3kjluh73b9h9o.cloudfront.net/original/4X/1/3/6/13660f07341888ef32aa28ef48f58e929e1b7626.jpeg)

 ![342323-screen-shot-2021-06-24-at-92358-am.jpg](https://d3kjluh73b9h9o.cloudfront.net/original/4X/4/7/2/4723a1931525e647897d0bed3ed96c657840e466.jpeg)

 ![342326-screen-shot-2021-06-24-at-93333-am.png](https://d3kjluh73b9h9o.cloudfront.net/original/4X/8/c/4/8c4be6d0345d4bf9f36e4118f63039c560100f48.png)
