Audio gets quieter everytime it plays

Godot Version

4.2.2

Question

Hi! I am having issues with the audio getting quieter everytime it plays. I have no clue why, and i have tried to research on it, but i couldn’t find any answers. I would be glad if somebody could help :smile:

code

func _on_quit_button_mouse_entered():
	$Hover.play()

I figured it out! I had the audio player not sett to the camera, and the camera was moving. So it was getting further and further away. I fixed this by parenting the audio player to the camrea2D

Use an AudioStreamPlayer instead if you don’t want to have a position aware player