# Issue with Cursor RAS Position Retrieval in Slicer 5.7

**URL:** <https://discourse.slicer.org/t/issue-with-cursor-ras-position-retrieval-in-slicer-5-7/40064>\
**Category:** Development\
**Created:** [November 7, 2024, 7:53am UTC](https://discourse.slicer.org/t/issue-with-cursor-ras-position-retrieval-in-slicer-5-7/40064 "2024-11-07T07:53:30Z")\
**Posts on this page:** 4\
**Page:** 1

<div class="post-metadata">

**Author:** ![park](https://sea2.discourse-cdn.com/flex002/user_avatar/discourse.slicer.org/park/32/5717_2.png) [@park](https://discourse.slicer.org/u/park)\
**Post date:** [November 7, 2024, 7:53am UTC](https://discourse.slicer.org/t/issue-with-cursor-ras-position-retrieval-in-slicer-5-7/40064/1 "2024-11-07T07:53:30Z")

</div>

Hi all,

I’m trying to retrieve the cursor’s RAS position using the following code:

```auto
ras = [0, 0, 0]
crosshairNode.GetCursorPositionRAS(ras)

```

In **Slicer 5.6** , when the cursor was positioned over the `modelNode`, it would return the coordinates on that `modelNode`. However, in **5.7** , even when the cursor is over the `modelNode`, it instead returns coordinates from the camera plane.

Could you please let me know if there were any updates or changes in this new version that could explain this behavior?

Thank you!

---

<div class="post-metadata">

**Author:** ![Sunderlandkyl](https://sea2.discourse-cdn.com/flex002/user_avatar/discourse.slicer.org/sunderlandkyl/32/79987_2.png) [@Sunderlandkyl](https://discourse.slicer.org/u/Sunderlandkyl)\
**Post date:** [November 7, 2024, 6:39pm UTC](https://discourse.slicer.org/t/issue-with-cursor-ras-position-retrieval-in-slicer-5-7/40064/2 "2024-11-07T18:39:45Z")

</div>

It’s possible that this pull request could fix the issue: [BUG: Fix issue preventing interacting with Markups curves by Sunderlandkyl · Pull Request #8021 · Slicer/Slicer · GitHub](https://github.com/Slicer/Slicer/pull/8021)

---

<div class="post-metadata">

**Author:** ![park](https://sea2.discourse-cdn.com/flex002/user_avatar/discourse.slicer.org/park/32/5717_2.png) [@park](https://discourse.slicer.org/u/park)\
**Post date:** [November 8, 2024, 12:33am UTC](https://discourse.slicer.org/t/issue-with-cursor-ras-position-retrieval-in-slicer-5-7/40064/3 "2024-11-08T00:33:44Z")

</div>

> [@Sunderlandkyl](#):
>
> pull request

Thank you for the response @Sunderlandkyl.  
Is there a way to resolve this issue in Python before the pull request is merged?

---

<div class="post-metadata">

**Author:** ![Sunderlandkyl](https://sea2.discourse-cdn.com/flex002/user_avatar/discourse.slicer.org/sunderlandkyl/32/79987_2.png) [@Sunderlandkyl](https://discourse.slicer.org/u/Sunderlandkyl)\
**Post date:** [November 12, 2024, 7:33pm UTC](https://discourse.slicer.org/t/issue-with-cursor-ras-position-retrieval-in-slicer-5-7/40064/4 "2024-11-12T19:33:17Z")

</div>

PR is now merged. The fix should be available in tomorrows preview release.
