Question when switching levels

What is the problem? You have a button that loads a level when it is pressed, but you need to check if it was pressed before loading the level? If you connect the Open Level node to the button’s “On Clicked” event, this should work for you, right?