Changing sceen with button

Is there a way to add a button to the UI so when pressed it will change scenes? I would need this for a menu

A post was merged into an existing topic: Is there a code to have a button to change screens?