How to move pivot point of image

It’s a beginner question, I guess, but how can I move the pivot point of the image to be in the center? Or any other point on the object?
in the image :

  1. where it is now
  2. where i like it to be

Sprites in Defold have the pivot in the center. If you move the sprite itself to 0,0 it should appear centred (if the bitmap itself is symmetrical).

4 Likes

I don’t understand what you’re saying. All I want is for rotation, scaling, and movement to always originate from the center of the sprite, no matter where I move it. In this strange case, the pivot is on the right button side. All I want is for it to be at the center

Click on the sprite in your player.go and change its position back to X0, Y0. The sprite will then be at the center of the game object. Then you can move the game object itself to the desired location.

7 Likes

Thanks it worked

2 Likes