# Change the erase color

**URL:** <https://discourse.slicer.org/t/change-the-erase-color/15102>\
**Category:** Development\
**Tags:** segmentation\
**Created:** [December 16, 2020, 8:08pm UTC](https://discourse.slicer.org/t/change-the-erase-color/15102 "2020-12-16T20:08:04Z")\
**Posts on this page:** 1\
**Page:** 1

<div class="post-metadata">

**Author:** ![aldoSanchez](https://avatars.discourse-cdn.com/v4/letter/a/5f9b8f/32.png) [@aldoSanchez](https://discourse.slicer.org/u/aldoSanchez)\
**Post date:** [December 16, 2020, 8:08pm UTC](https://discourse.slicer.org/t/change-the-erase-color/15102/1 "2020-12-16T20:08:04Z")

</div>

hi today I was wondering if is possible to change the eraser color  
because when I´m editing in the editor I use shortcuts in the Wacom but when I use the tool erase is so easy to work and I would like to switch this color for 0 to another label solo in some parts I use 0 labels and in other ones I use label 2 or label 41 (from freesurfer) so I was thinking on messing with the original script to create something like  
slight\_smile:

- **q:** erase value 2.
  
if key == ‘q’:  
pipeline.errase().value(2)  
abortEvent = True

but I don’t find the script that contents the eraser tool
