I want it when So i move the screen the distance between the UI buttons on the right don’t change. And they stay the same distance away from each other no matter the screen size. The issue is that I use scale for the UI so everything can stay proportional but it also changes the distance. I have tried using the UI grid layout to fix it but it still had the same problem.
You should use udim2 instead of vector2 in this scenario, because vector2 is based on an absolute (x,y) position, whereas udim2 is based off on a percentage of the screen and number of pixels to move. That being, it will be based relatively on screen size rather than equidistant from each other UI button.