Press T for tool change (only pen/eraser). Press S for size change (1/10/50). You can also click the icons to cycle but you might accidentally draw under it.
Created by messing around with the Scratch pen add-on. Pen and Eraser model are funny reference