Hello! How to disable the button when the game is paused?
The button is a child node of CanvasLayer. Process mode - inherit. I am pausing the game through another child node of the level. The button doesn't perform its functions, but I can still click on it, even if it can't do anything at that moment. I don't want to turn off the buttons manually, and I don't want to give a direct link to CanvasLayer to the node that pauses the game.