Problem with sound cue not stopping

Hello everybody,

I’m currently trying to solve this problem where I have used the “Play” node to start a sound cue, then I’m using the “Stop” node to stop the sound cue, and it isn’t (, I’m doing all of this in the player character blueprint.) Also, the sound is supposed to start when a button is pressed, and stop when released. To give some extra context for what I’m doing in case there is another, better way of doing things, I have a laser beam that is releasing whenever the left mouse button is being held. But I want a laser sound to play alongside the beam, and of course, stop when it is not being released. I know this seems really simple, but for whatever reason, it is not working.

Thank you in advance.

The following screenshots contain my code:

hi, can you put a print string node after the stop to check if the stop is executed?

Hi, I checked if it is being executed (using the print string node,) and turns out that the node is being executed but nothing is happening.

sorry for the late reply btw

Hello again, I have recently discovered that upon looping the sound, the second time it plays, it actually stops when the button is released. Still not sure how and why that happens though.

someone plz answer

Hello again everyone,

I just realized that the problem was actually that I had a node in the middle of the blueprint that spawns the sound again.

I am stupid,
sorry for wasting your time