You could add a script like this to your TextureButton:
extends TextureButton
func _on_TextureButton_button_down():
texture_focused = load("<Path1>")
func _on_TextureButton_button_up():
texture_focused = load("<Path2>")
Connect the callbacks to the button_down
- and button_up
-signals of the button and create one focus-image for the down-state (located under <Path1>
) and another one for the up-state (located under <Path2>
) . Problem solved?