How to use blueprint to pause audio

I use Add Audio Component to create an audio in the scene. But I am facing with the problem that how can I use blueprint to pause or stop the audio when I don’t need it in the scene. It seems there is no function for closing an audio.

Store a reference to the component in a variable.

You can right click on the return value of the add component node and promote to variable.

Then you can call functions on the variable to stop the audio.

Wow! Thank you!

Hello I figured out a new method last night. We can use two functions Enable Input and Disable Input to reach the same goal by blueprint instead of promote it to variable. But really thank you. It’s you inspired me.