Is there a way to play a sound/music when the app is minimized?

Godot Version

v4.3

Question

Do anyone know how to play a sound without the app is minimized? I wanted to make an app that will make your keyboard/mouse sound in your custom and i ran into that problem that it isnt running the sound when its not opened. Any help will be really appreciated!

I am unsure what you mean by this. Do you want:

  • To play a sound whenever someone clicks on the minimize button
  • To have sound play even if the app is minimized.
  • To do something else

To play a sound whenever a key is pressed if the app is minimized and opened.

I dont think this is possible, as godot doesnt register input when it is minimized.

Maybe I will try…