Control.grabClickFocus

Creates an InputEventMouseButton that attempts to click the control. If the event is received, the control acquires focus.

More...
struct Control
@nogc nothrow
void
grabClickFocus
()

Detailed Description

func _process(delta): grab_click_focus() #when clicking another Control node, this node will be clicked instead

Meta