[Solved] How to center element?

My game has 1280x800 resolution and I want to center it by width (800 / 2 = 400). I’m setting element’s x to 400, and it’s bot centered.

Hi, just use an event to set the center X position of the LOGO object to ScreenWidth() / 2.
Like so:

Okay, it works! Thank you

1 Like

Solved