I’m wondering if someone can help. I’m looking for an input method for a ui that does something once when a CheckButton is pressed.
I currently have this, but in only works as long as the mouse is moving on the screen after the button has been pressed. I’m sure I’m missing something simple here.
func _input(event: InputEvent) -> void:
if switch: # this is the CheckButton
camera_a.make_current() # this is a camera
else:
camera_b.make_current() # this is a camera