use arrows to move click flag to erase that's it really! if you don't know already an etchasketch is a toy sketch pad like thing that works exactly like this one! (its kind of a old so if you don't know what this is i understand)
i saw that when you tried to change direction, the black dot kind of stopped and then started again, so i fixed that. :)