Download

Make sound play and keep playing (looping) only while certain key is held

i want to be able to hold a key, while i hold it i want a sound to play and will keep looping untill i stop holding key.
tried to accomplish this in many ways with Tick or Timers and it didnt work so any help will be appreciated.
also, is it possible to play sound in UMG animations? for example a text will flash “Reload” and you will hear a sound telling you to reload.

thanks for the help

  1. enable “looping” in your sound cue:

c9b1935640c759d8a36608308b12f7987114d56a.jpeg

  1. do this in your blueprint:

2e63fd9efdb00578b21334185d7eaf7f4eb7b9bd.jpeg

  1. disable “auto activate” in the details panel of your sound :slight_smile: