on_before_focused(button)
Called just before the GUI button is focused. Return True to allow the button to be focused, and False otherwise
Parameters:
button
[value: object (reference to the button that was pressed), type: object]
Return Value: True or False
file: src/nodes/2D/gui_button_2d_node.c