# Moving objects to certain x,y points

**URL:** <https://forum.kirupa.com/t/moving-objects-to-certain-x-y-points/68864>\
**Category:** Uncategorized\
**Created:** [October 29, 2004, 4:55pm UTC](https://forum.kirupa.com/t/moving-objects-to-certain-x-y-points/68864 "2004-10-29T16:55:52Z")\
**Posts on this page:** 1\
**Page:** 1

<div class="post-metadata">

**Author:** ![jondj24](https://avatars.discourse-cdn.com/v4/letter/j/5f9b8f/32.png) [@jondj24](https://forum.kirupa.com/u/jondj24)\
**Post date:** [October 29, 2004, 4:55pm UTC](https://forum.kirupa.com/t/moving-objects-to-certain-x-y-points/68864/1 "2004-10-29T16:55:52Z")

</div>

I have a main menu box that contains navigation buttons.  
This box can be dragged anywhere on the screen. If i want  
a button to move that box to a certain x and y point, no matter  
where it is at anytime, how can i script this?

thanks.
