I'm trying to play a 'hover' sound when the mouse goes over a TextureButton, but whenever I try, and I load the game, there's no sound, and the game is unresponsive. Here's what I've got:
extends TextureButton
func _ready():
set_process_input(true)
func _input(event):
if self.is_hovered():
get_node("Samples").play("hover")
I've tried putting the conditions in through the SamplePlayer, but still nothing. I've also tried with a fixed process.