If you want to have an actual button in your workspace, you can create a custom script and assign it to an action. Here’s how:
Create a Script for Undo:
Open a plain text editor (like Notepad on Windows or TextEdit on Mac).
Copy and paste the following simple script:
app.undo();
Save this...