How to align some nodes on the screen?

:information_source: Attention Topic was automatically imported from the old Question2Answer platform.
:bust_in_silhouette: Asked By stronk
:warning: Old Version Published before Godot 3 was released.

Hello, I have to do a simple hud for my game and the concept is described on this image:
My awesome grid

This green block is my container with the level (view only) and these two blue ones are the arrow buttons for changing level in the view. How to align these nodes to be like the blue ones are always on the sides of the screen (even when I resize the window) and the green one to be always in the middle?

:bust_in_silhouette: Reply From: Freeman

I think you really want to watch this tutorial:

:slight_smile:

Thank you, thank you very much! It almost solves all my problems but I want in the center to be the Node2D with the scaled level. Anyway you helped me so much and I’m so grateful! :slight_smile:

stronk | 2016-12-30 23:39