# How To Get The Current Manipulator's Location

**URL:** https://forum.highend3d.com/t/how-to-get-the-current-manipulators-location/2822
**Category:** Maya
**Tags:** mel
**Created:** [September 20, 2006, 2:13pm UTC](https://forum.highend3d.com/t/how-to-get-the-current-manipulators-location/2822 "2006-09-20T14:13:55Z")
**Posts on this page:** 4
**Page:** 1

<div class="post-metadata">

### Author: ![rgkovach](https://forum.highend3d.com/letter_avatar_proxy/v4/letter/r/13edae/32.png) [@rgkovach](https://forum.highend3d.com/u/rgkovach)
#### Post date: [September 20, 2006, 2:13pm UTC](https://forum.highend3d.com/t/how-to-get-the-current-manipulators-location/2822/1 "2006-09-20T14:13:55Z")

</div>

I'm relatively new to Mel scripting and I'm trying to create a simple HUD display that tells me how far i've moved a manipulator.

I'm having a bit of trouble trying to find out the current location of the Move Manipulator when I enter the Move tool.

I've trying searching the Mel Command Reference, the best thing i could come with is manipMoveContext. But since I don't know the name of the context created by the Move tool, I can't query it's location.

Any help or suggestions would be appreciated! thanks

---

<div class="post-metadata">

### Author: ![joojaa](https://forum.highend3d.com/letter_avatar_proxy/v4/letter/j/5daacb/32.png) [@joojaa](https://forum.highend3d.com/u/joojaa)
#### Post date: [September 20, 2006, 2:16pm UTC](https://forum.highend3d.com/t/how-to-get-the-current-manipulators-location/2822/2 "2006-09-20T14:16:57Z")

</div>

currentCtx -q;  
// Result: moveSuperContext //

---

<div class="post-metadata">

### Author: ![rgkovach](https://forum.highend3d.com/letter_avatar_proxy/v4/letter/r/13edae/32.png) [@rgkovach](https://forum.highend3d.com/u/rgkovach)
#### Post date: [September 20, 2006, 3:04pm UTC](https://forum.highend3d.com/t/how-to-get-the-current-manipulators-location/2822/3 "2006-09-20T15:04:10Z")

</div>

awesome thanks for the quick reply!

i got another question however...  
the command manipMoveContext doesn't recognize the moveSuperContext as a valid object.

currentCtx -q;  
// Result: moveSuperContext //

manipMoveContext -q -mode moveSuperContext;  
// Error: line 1: Object not found: moveSuperContext //

---

<div class="post-metadata">

### Author: ![joojaa](https://forum.highend3d.com/letter_avatar_proxy/v4/letter/j/5daacb/32.png) [@joojaa](https://forum.highend3d.com/u/joojaa)
#### Post date: [September 20, 2006, 4:36pm UTC](https://forum.highend3d.com/t/how-to-get-the-current-manipulators-location/2822/4 "2006-09-20T16:36:17Z")

</div>

superCtx -q moveSuperContext ;  
// Result: Move //
