So I want to place an Image Button on the left corner on the screen (as I said in the title) but when I play the actual game the button moves from where I put it?
Size {0,60},{0,60} Position {0,0},{0.925,0} Anchor Point 0,0
So I want to place an Image Button on the left corner on the screen (as I said in the title) but when I play the actual game the button moves from where I put it?
Size {0,60},{0,60} Position {0,0},{0.925,0} Anchor Point 0,0
Well, the problem, here, is that, you are setting in the size in Offset and not in Scale. Let me simplify it to you : E.G.: {0,60},{0,60} is your size. Here, 0 is your Scale and 60 is your Offset.
Just for clarification, if you have your size in Offset, the label may change the position in different ratios and resolutions to get to that Offset.
The simple solution is : Try changing the value of Scale and keep the Offset value to 0. Then, the button will be in that position and may compress or stretch to get that position.
Just for easy-ness: When you change the value of Scale to 1, it will cover the whole screen according to that axis. 0.5 will cover half the screen according to the axis. E.G.: {1,0},{1,0} will cover the whole screen in any device with any resolution.
Lemme know if it helps!
Try doing this: Size = {0,60},{0,60} Position = {0,0},{1,0} Anchor Point = 0,1
Didn't work but thanks for the help :D
This discussion is preserved as it was. New answers, comments, and votes are closed.
4 comments
Thanks it worked!
But is there any way to prevent the stretching/compressing?
Well, the Gui Object HAVE to stretch or compress to fit to that position. Well, it is not a great deal. It will be like, MineCraft on PC and MineCraft on Mobile [The gui scaling]. You can also check it by using Emulator mode in Emulator.
I mean in Roblox Studio