I haven’t looked very closely but if you use tweens to animate the buttons I believe the problem could be with the them. They need to have their process mode set separately. They will not inherit the process mode from the whatever node creates them.
If you have infinite recursion, are you sure that your input is not used to 1. open the pause menu, 2. press the continue button, 3. open the pause menu again etc etc? Especially if it is the continue button that spawns in focused.
Could you try call_deferred the grab_focus() of the button?
no, it’s always visible. What I said is that when the scene tree isnt paused, then it works perfectly fine, else? it doesnt work. If you want more details, please check my precious comments
Interesting. I called it from a parent class. I thought that was overly complex, so I tried to simplify it for you. However, it seems you have to, because otherwise you get infinite recursion.
Delete that script.
Right-click on the SubViewport and select %Access as Unique Name