How can I slant ui?

My problem is that I don’t know how to show it by pressing the pause button and being able to click the buttons.
this is my code from widget and character