Function Control.grabClickFocus

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

void grabClickFocus() nothrow @nogc;

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