# Script Detached Dialog Position using current mouse coords

**URL:** <https://resource.dopus.com/t/script-detached-dialog-position-using-current-mouse-coords/55532>\
**Category:** Help & Support\
**Created:** [April 26, 2025, 4:12pm UTC](https://resource.dopus.com/t/script-detached-dialog-position-using-current-mouse-coords/55532 "2025-04-26T16:12:14Z")\
**Posts on this page:** 4\
**Page:** 1

<div class="post-metadata">

**Author:** ![galaxyhub](https://resource.dopus.com/user_avatar/resource.dopus.com/galaxyhub/32/42793_2.png) [@galaxyhub](https://resource.dopus.com/u/galaxyhub)\
**Post date:** [April 26, 2025, 4:12pm UTC](https://resource.dopus.com/t/script-detached-dialog-position-using-current-mouse-coords/55532/1 "2025-04-26T16:12:15Z")

</div>

Is it possible to position a script detached dialog at current mouse coords ?

For the purpose of a popup list that can have the font changed.

---

<div class="post-metadata">

**Author:** ![PassThePeas](https://resource.dopus.com/user_avatar/resource.dopus.com/passthepeas/32/50972_2.png) [@PassThePeas](https://resource.dopus.com/u/PassThePeas)\
**Post date:** [April 26, 2025, 5:01pm UTC](https://resource.dopus.com/t/script-detached-dialog-position-using-current-mouse-coords/55532/2 "2025-04-26T17:01:53Z")

</div>

Never tried this, but it looks like you can get mouse coordinates through `SysInfo` object, and then use the `Dialog` properties: `position` (probably to set to `monitor`) and `x`/`y`.

EDIT: If you're already in a dialog, this might be useful: [Mouse coordinates but relative to dialog's window](https://resource.dopus.com/t/mouse-coordinates-but-relative-to-dialogs-window/54550)

---

<div class="post-metadata">

**Author:** ![errante](https://resource.dopus.com/user_avatar/resource.dopus.com/errante/32/61692_2.png) [@errante](https://resource.dopus.com/u/errante)\
**Post date:** [April 26, 2025, 6:36pm UTC](https://resource.dopus.com/t/script-detached-dialog-position-using-current-mouse-coords/55532/3 "2025-04-26T18:36:28Z")

</div>

> [@PassThePeas](#):
>
> it looks like you can get mouse coordinates through `SysInfo`

This is the way. You need to get mouse coordinates, then use those values to set the dialog position, and set the `position` property to `monitor`.

---

<div class="post-metadata">

**Author:** ![galaxyhub](https://resource.dopus.com/user_avatar/resource.dopus.com/galaxyhub/32/42793_2.png) [@galaxyhub](https://resource.dopus.com/u/galaxyhub)\
**Post date:** [April 27, 2025, 5:52am UTC](https://resource.dopus.com/t/script-detached-dialog-position-using-current-mouse-coords/55532/4 "2025-04-27T05:52:14Z")

</div>

Many thanks. Thought it might be in Dialog object.
