# How to change pivot point of a go on the go

**URL:** <https://forum.defold.com/t/how-to-change-pivot-point-of-a-go-on-the-go/68134>\
**Category:** Questions\
**Created:** [April 15, 2021, 4:00pm UTC](https://forum.defold.com/t/how-to-change-pivot-point-of-a-go-on-the-go/68134 "2021-04-15T16:00:16Z")\
**Posts on this page:** 3\
**Page:** 1

<div class="post-metadata">

**Author:** ![iskream23](https://forum-defold.b-cdn.net/user_avatar/forum.defold.com/iskream23/32/24622_2.png) [@iskream23](https://forum.defold.com/u/iskream23)\
**Post date:** [April 15, 2021, 4:00pm UTC](https://forum.defold.com/t/how-to-change-pivot-point-of-a-go-on-the-go/68134/1 "2021-04-15T16:00:16Z")

</div>

Hi, I hope everyone is well.

 ![mockup%20miodina](https://forum-defold-uploads.b-cdn.net/original/3X/7/0/70f5a9ea98d9d25d9c550d0354a84bb509040ed4.jpeg)  
I’m struggling with having the yellow ball and then the red ball to be alternatively the pivot points when the stick rotates. If someone can give me tips on how I can achieve this, that would be great.

---

<div class="post-metadata">

**Author:** ![britzl](https://forum-defold.b-cdn.net/user_avatar/forum.defold.com/britzl/32/23_2.png) [@britzl](https://forum.defold.com/u/britzl)\
**Post date:** [April 15, 2021, 4:07pm UTC](https://forum.defold.com/t/how-to-change-pivot-point-of-a-go-on-the-go/68134/2 "2021-04-15T16:07:14Z")

</div>

Perhaps use one root game object which you rotate and then have the yellow and red balls as child objects.

When you rotate around the red ball you move the red and yellow ball so that the red is on top of the parent and at the same time move the parent object to compensate for how you moved the red and yellow ball.

---

<div class="post-metadata">

**Author:** ![iskream23](https://forum-defold.b-cdn.net/user_avatar/forum.defold.com/iskream23/32/24622_2.png) [@iskream23](https://forum.defold.com/u/iskream23)\
**Post date:** [April 15, 2021, 4:32pm UTC](https://forum.defold.com/t/how-to-change-pivot-point-of-a-go-on-the-go/68134/3 "2021-04-15T16:32:26Z")

</div>

thank you for the fast reply 🙂 I’ll play around and try it.
