# How do I get the number and status of undo

**URL:** <https://discourse.slicer.org/t/how-do-i-get-the-number-and-status-of-undo/21634>\
**Category:** Development\
**Tags:** segmentation\
**Created:** [January 26, 2022, 2:04pm UTC](https://discourse.slicer.org/t/how-do-i-get-the-number-and-status-of-undo/21634 "2022-01-26T14:04:52Z")\
**Posts on this page:** 1\
**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:** [January 26, 2022, 2:04pm UTC](https://discourse.slicer.org/t/how-do-i-get-the-number-and-status-of-undo/21634/1 "2022-01-26T14:04:52Z")

</div>

How do I get the number and status of undo or redo when I use paint to edit segmentation
