# Getting access to markups in my module

**URL:** <https://discourse.slicer.org/t/getting-access-to-markups-in-my-module/30942>\
**Category:** Support\
**Tags:** python\
**Created:** [August 2, 2023, 8:26pm UTC](https://discourse.slicer.org/t/getting-access-to-markups-in-my-module/30942 "2023-08-02T20:26:30Z")\
**Posts on this page:** 1\
**Page:** 1

<div class="post-metadata">

**Author:** ![Makarena-211](https://sea2.discourse-cdn.com/flex002/user_avatar/discourse.slicer.org/makarena-211/32/67051_2.png) [@Makarena-211](https://discourse.slicer.org/u/Makarena-211)\
**Post date:** [August 2, 2023, 8:26pm UTC](https://discourse.slicer.org/t/getting-access-to-markups-in-my-module/30942/1 "2023-08-02T20:26:30Z")

</div>

Hi, I stucked with writing a code of my segmetation module using SAM. How can I get coords of markups in red viewport?  
I’ll leave my code below…Please help me 🥹 🥹 🥹

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