How to center objects

how to center this objects?

Heres the game:

https://www.mediafire.com/file/ybdaklwif1ldc7c/PAB.zip/file

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

Welcome should be Welcome in not welcome in
Or maybe even WELCOME IN

And what Danjiel wrote is accurate
Yet i always tend to go centering one object to
CameraCenterX() - Object.Width()/2
CameraCenterY() - Object.Height()/2

Maybe add offset to Y like
CameraCenterY()-50 - Object.Height()/2

And now i position everything else to that object

What do you mean with that? In the image, you have 2 text objects, and 5 circle objects. Which are you referring to and, if it’s the 5 dots, what do you mean by centring them?

sorry I didn’t explain and I want the objects to be arranged as in the screenshot but to be centered