how to create a UI pushable system? (Solved)

so i have been for a few days now trying to make a nice system that would allow me to create a Pushable UI system. and what i mean by that is when ever you open a Menu for example and this menu would expand and any other UI elements below it gets pushed down.

and obviously the other way aswell when u close it.

some people suggested i could do this with the animation system but i can’t seem to find out how.

if anyone knows i would be happy if you would share your idea.

As suggested in the other thread that I remember seeing, Grozzler suggested using a layout group or just writing something yourself.

Did you try that?

Better to use one thread in the future.

ye i actually tried that and it doesnt work the layour group wont automaticly push other ui elements only in Editor that is.