Assuming you mean a UI widget:
Create a widget with a button → add it to the viewport. Click button → open level.