Hi,
i have TextureButtons that i use with the mouse and i would like to trigger it with my keyboard.
i have that to begin with:
func _process(delta):
if Input.is_action_just_pressed("dpad_left"):
var left = get_node("../interface/UI/d_pad/hfpad/lbox/left")
print("left")
it works fine but if i try some:
left.emit_signal("button_pressed")
or
left.is_pressed()=true
or whatever, it doesn't trigger my button, or maybe it does (i didn't put any function to it yet) but it doesn't change its texture as if pressed by the mouse and that's what i'm trying to do.
Can you tell me how to do it?
Thanks