i want it to be elastic and when I drag the images elements inside it will return to the left but in fact to return to the center. now when I’m running the game if there are only 3 elements for example they are not in the center they are too left. and I want them to start in the center.
not sure how to do it and if I should do it by code or in the editor.
the viewport as it is now in runtime. it’s position more ot the left side:
I can drag the viewport on the red and put it more or less manual in the center. but I want it to be automatic in the center.
this screenshot is after dragging the red with the mouse: and this is how I want it to be automatic, when running the game that it will be in the center.
this is the settings of the content: