I need to click a button multiple times to interact with the button

hello i create a restart menu but when i want click on the button I need to click a button multiple times

Hey there @NinjaIce302! Welcome to the community! Could you put a breakpoint/print string on the UI’s click function to see if it’s getting the initial click at all? It could possibly be that it’s receiving it and just taking a moment to reset. Alternatively if it only clicks after the second, does it receive hover events before you click?