extends HBoxContainer func disable_buttons(): ## Get all children buttons var buttons = get_children() ## Disable all buttons for button in buttons: button.disabled = true visible = false func enable_buttons(): ## Get all children buttons var buttons = get_children() ## Enable all buttons for button in buttons: button.disabled = false visible = true func reset_button_focus(): ## Get all children buttons var buttons = get_children() ## Reset focus on all buttons for button in buttons: button.release_focus()