when your pencil touches eraser then it will become the eraser [meaning by you don't have to click it] when the eraser touches a color it will become the pencil [meaning by you don't have to click it] and you know cause of the actual app [not in scratch] and also thickness is also for the eraser