Undo is at the bottom of the page or toolbox, and it’s accessed by tapping the bottom left corner of the screen, or you can enable the 3 finger tap gesture in Preferences.