---
title: "Comment by Abhishek Verma on \"JavaScript mouse drawing on the canvas 👨‍🎨\" | Hashnode"
description: "What about eraser?"
url: "https://hashnode.com/posts/javascript-mouse-drawing-on-the-canvas/5f7d5154eba2f86adc0b6465/comment/5f7db7c7eba2f86adc0b69ad"
---

[Discussion](https://hashnode.com/posts/javascript-mouse-drawing-on-the-canvas/5f7d5154eba2f86adc0b6465)

Comment [JavaScript mouse drawing on the canvas 👨‍🎨](https://hashnode.com/posts/javascript-mouse-drawing-on-the-canvas/5f7d5154eba2f86adc0b6465)

[Abhishek Verma](https://hashnode.com/@vaultdmn)

[Oct 7, 2020](https://hashnode.com/posts/javascript-mouse-drawing-on-the-canvas/5f7d5154eba2f86adc0b6465/comment/5f7db7c7eba2f86adc0b69ad)

What about eraser?

[Chris Bongers](https://hashnode.com/@dailydevtips)

[Oct 7, 2020](https://hashnode.com/posts/javascript-mouse-drawing-on-the-canvas/5f7d5154eba2f86adc0b6465/comment/5f7db7c7eba2f86adc0b69ad#reply-5f7db883eba2f86adc0b69bb)

Good question, to actually remove the canvas lines is a bit harder a dirty solution would be to make an eraser button, which will draw a white line 👀
