# Want to make this vtkMRMLSegmentEditorNode::PaintAllowedOutsideAllLockedSegments

**URL:** <https://discourse.slicer.org/t/want-to-make-this-vtkmrmlsegmenteditornode-paintallowedoutsidealllockedsegments/17292>\
**Category:** Development\
**Tags:** segmentation\
**Created:** [April 24, 2021, 3:21am UTC](https://discourse.slicer.org/t/want-to-make-this-vtkmrmlsegmenteditornode-paintallowedoutsidealllockedsegments/17292 "2021-04-24T03:21:51Z")\
**Posts on this page:** 2\
**Page:** 1

<div class="post-metadata">

**Author:** ![Shazam\_L](https://sea2.discourse-cdn.com/flex002/user_avatar/discourse.slicer.org/shazam_l/32/10264_2.png) [@Shazam\_L](https://discourse.slicer.org/u/Shazam_L)\
**Post date:** [April 24, 2021, 3:21am UTC](https://discourse.slicer.org/t/want-to-make-this-vtkmrmlsegmenteditornode-paintallowedoutsidealllockedsegments/17292/1 "2021-04-24T03:21:51Z")

</div>

Hello,

I want to pass individual segments that cannot be painted over.  
Where can I access the segmentation mask so I can specify which segments can be painted over?

Thanks,

Harsh

---

<div class="post-metadata">

**Author:** ![lassoan](https://sea2.discourse-cdn.com/flex002/user_avatar/discourse.slicer.org/lassoan/32/13_2.png) [@lassoan](https://discourse.slicer.org/u/lassoan)\
**Post date:** [April 25, 2021, 1:35pm UTC](https://discourse.slicer.org/t/want-to-make-this-vtkmrmlsegmenteditornode-paintallowedoutsidealllockedsegments/17292/2 "2021-04-25T13:35:44Z")

</div>

There are many options for this. You can use masking settings or temporarily move protected segments to another segmentation node. Moving is immediate and lossless, so you can do it easily as many times as needed.
