The problem with moving the GUI

Π‘Π½ΠΈΠΌΠΎΠΊ экрана 2023-05-17 Π² 18.50.24
Π‘Π½ΠΈΠΌΠΎΠΊ экрана 2023-05-17 Π² 18.50.17
So I have a script that measures the bar when you get a new one and experience, etc. Typical system lvlom, except that the problem is that my ImageLabel, when I am not in the game is where it should be, but when I start the game and get experience it by x shrinks and moves to the left, so it goes beyond the bar level, and if I just in the test to reduce it by x it will move to the left how to fix it?

2 Likes

By the looks of things, your anchor point is at 0,0
And due to the current bug that prevents UI from Snapping when resizing, it was unable to align itself into the bar itself.

Just a guess.

1 Like

Use scale for size and position of this element
also set the container element/frame to 1 on scale for the X axis
that way you can use currentvalue/maxvalue for the x axis scale size of this

1 Like