# Select specific control points from qSlicerSimpleMarkupsWidget

**URL:** <https://discourse.slicer.org/t/select-specific-control-points-from-qslicersimplemarkupswidget/40270>\
**Category:** Development\
**Created:** [November 19, 2024, 5:30pm UTC](https://discourse.slicer.org/t/select-specific-control-points-from-qslicersimplemarkupswidget/40270 "2024-11-19T17:30:47Z")\
**Posts on this page:** 1\
**Page:** 1

<div class="post-metadata">

**Author:** ![justomont](https://sea2.discourse-cdn.com/flex002/user_avatar/discourse.slicer.org/justomont/32/16814_2.png) [@justomont](https://discourse.slicer.org/u/justomont)\
**Post date:** [November 19, 2024, 5:30pm UTC](https://discourse.slicer.org/t/select-specific-control-points-from-qslicersimplemarkupswidget/40270/1 "2024-11-19T17:30:48Z")

</div>

Hey there!

I’m developing a scripted module and I want the user to be able to select and unselect specific markup control points from the module’s GUI, similarly to what can be done from the Markups module. For example, the user here selected control points A2, A4 and A5:

 ![image](https://us1.discourse-cdn.com/flex002/uploads/slicer/original/3X/6/8/680c3a8eea2dd1dc34b254a44c3d4479655e5647.png)

For the GUI I’m using the ‘qSlicerSimpleMarkupsWidget’ but I cannot work around including the option to select/unselect specific control points. As of right now, it looks like this:

 ![image](https://us1.discourse-cdn.com/flex002/uploads/slicer/original/3X/8/f/8fbc7d2149c570d0d6682a6fb5b084d271c11996.png)

How could I accomplish this? I know that I can access if the user selected/unselected in the Markups Module, but I want the user to be able to do it all from the same Module I’m developing.

Thanks in advance!
