# segmentEditor paint

**URL:** <https://discourse.slicer.org/t/segmenteditor-paint/21867>\
**Category:** Development\
**Tags:** segmentation\
**Created:** [February 9, 2022, 10:20am UTC](https://discourse.slicer.org/t/segmenteditor-paint/21867 "2022-02-09T10:20:29Z")\
**Posts on this page:** 2\
**Page:** 1

<div class="post-metadata">

**Author:** ![wang](https://avatars.discourse-cdn.com/v4/letter/w/edb3f5/32.png) [@wang](https://discourse.slicer.org/u/wang)\
**Post date:** [February 9, 2022, 10:20am UTC](https://discourse.slicer.org/t/segmenteditor-paint/21867/1 "2022-02-09T10:20:29Z")

</div>

When I use segmentEditor paint I find LeftButtonPressEvent is not triggered.  
How do I get LeftButtonPressEvent when I use segmentEditor paint.  
Think you!

---

<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:** [February 9, 2022, 11:02pm UTC](https://discourse.slicer.org/t/segmenteditor-paint/21867/2 "2022-02-09T23:02:40Z")

</div>

Probably the segment editor consumes the event. If you want to intercept the event before the segment editor gets it, you can add an observer with a higher priority.
