How to center objects

Hey,

I think you should try those two code snippets, for each object separately.

  • For X position (horizontal centering):
SceneWindowWidth() / 2 - Object.Width() / 2
  • For Y position (vertical centering):
SceneWindowHeight() / 2 - Object.Height() / 2

(Solved) Center objects to screen - How do I…? - GDevelop Forum