How do I make the UI adjust it's location based on the screen size on mobile

How do I make the UI adjust it’s location based on the screen size on mobile. It just stays in the same place so my jump button is in the middle on different devices. Instead it should be on the side on all devices

try use the anchoring behavior, i believe there should be a handful if not a ton of tutorials on how the use the anchoring behavior

Use the anchor thing like somebody said, or you could use the “scenewindowwidth” expression

1 Like

If you want something stick or proportionally stay to some screen side
For example 100 pixels from left edge of screen to the right
Change Object center X position CameraBorderLeft()+100
If you want to center it you on center of screen you go with
Change Object center X position CameraWidth()/2

And you use that actions in event WITHOUT condition and you are set