UI frame not staying in 1 place

This ui button wont stay in 1 place even though the position is scale and so is the size
PC view:


Mobile view:




How to fix?

1 Like

Talking about the button on the left of the hotbar btw

1 Like

??? someone help its been 30 mins

I have had this before. Change the anchor point, and maybe set it to 0.5,0.5.

First remove the UI constraint then change the anchor point then add the UI constraint.

1 Like

What I would do:

Put the hotbar and the inventory button in one frame (it can be transparent), and have that frame’s anchor point set to [0.5, 1] (since it’s at the bottom), and adjust the position as needed (try [0.5, 0.95]) Then, move the buttons to match the original pc style layout.

Tell me if this works for you!

2 Likes

Its because the UI aspect ratio constraint, two options:
A: remove it
B: as the person above suggested

1 Like

your issue is scaling based on size and not offset

what, if you want UI to SCALE, you need to use SCALE

This topic was automatically closed 14 days after the last reply. New replies are no longer allowed.