Download

How can I restrict the use of a input event 1 time only?

Hello, could someone tell me how I can limit the use of an “input key” only 1 time, I have a blueprint where I press a “use” button and a song is played, but if I press it again it overlaps with the one that is already there dreaming. Any idea how to fix it?

the sound that is played with a “spawn sound 2D” node. And I am using the horror engineCaptura de pantalla 2021-09-22 231124

You could use Is Playing to set a branch (see Is Playing | Unreal Engine Documentation)