# Set\_position() implementation

**URL:** <https://forum.defold.com/t/set-position-implementation/77870>\
**Category:** Questions\
**Created:** [August 23, 2024, 10:44am UTC](https://forum.defold.com/t/set-position-implementation/77870 "2024-08-23T10:44:09Z")\
**Posts on this page:** 2\
**Page:** 1

<div class="post-metadata">

**Author:** ![zayneddine](https://forum-defold.b-cdn.net/user_avatar/forum.defold.com/zayneddine/32/36972_2.png) [@zayneddine](https://forum.defold.com/u/zayneddine)\
**Post date:** [August 23, 2024, 10:44am UTC](https://forum.defold.com/t/set-position-implementation/77870/1 "2024-08-23T10:44:09Z")

</div>

hi guys, i want to know about the implementaition of set\_position(), and about a specific thing, when setting both the x and y position at the same time, does set\_position() starts with x or with y , meaning does it move the object x units then moves the object y units or the opposite or at the same time? i cant conceive of seetting the position of the the x and y axis at the same time,it must be one before the other right?

---

<div class="post-metadata">

**Author:** ![Mathias\_Westerdahl](https://forum-defold.b-cdn.net/user_avatar/forum.defold.com/mathias_westerdahl/32/228_2.png) [@Mathias\_Westerdahl](https://forum.defold.com/u/Mathias_Westerdahl)\
**Post date:** [August 23, 2024, 11:36am UTC](https://forum.defold.com/t/set-position-implementation/77870/2 "2024-08-23T11:36:52Z")

</div>

For all intents and purposes, it’s at the same time.  
No other operation gets inbetween the assignment.
