Here. Make a new widget and put a button in the widget:
Notice the green buttons at the bottom, I clicked the ‘on clicked’ one, and put this code in:
It does this: