Align object on the screen

Align objects on the scene relatively to the window (or screen size).

Authors and contributors to this community extension: grymmjack.


Align objects on the scene relatively to the window (or screen size).

Be sure to put your object on a layer for which the camera position was not moved.

Actions provided are:

  • ToSceneCentered: horizontally and vertically centered in scene
  • ToSceneTop: vertically to the top in scene
  • ToSceneMiddle: vertically to the middle in scene
  • ToSceneBottom: vertically to the bottom in scene
  • ToSceneLeft: horizontally to the left in scene
  • ToSceneRight: horizontally to the right in scene
  • ToSceneCenter: horizontally to the center in scene
  • ToScreenCentered: horizontally and vertically centered in screen
  • ToScreenTop: vertically to the top in screen
  • ToScreenMiddle: vertically to the middle in screen
  • ToScreenBottom: vertically to the bottom in screen
  • ToScreenLeft: horizontally to the left in screen
  • ToScreenRight: horizontally to the right in screen
  • ToScreenCenter: horizontally to the center in screen

This page is an auto-generated reference page about the Align object on the screen extension, made by the community of GDevelop, the open-source, cross-platform game engine designed for everyone. Learn more about all GDevelop community-made extensions here.