Scripting HelpersARCHIVE
A little piece of Roblox history. Preserved for everyone, one question at a time.Read about the archive →
✓ ANSWER ACCEPTED

Why does the ImageLabel Position Change?

I am making a game that has shift lock for mobile but when I test it on my Phone it's misplaced.

This is where the button is supposed to be: https://ibb.co/YbLDKxx

This is where it's supposed to be on mobile (same place): https://ibb.co/ySPgGMV

This is where it is when testing: https://ibb.co/SJY0jP4

I have no clue why this happens, if someone knows how to fix this please let me know.

3 answers

✓ Accepted answer

I think I know what problem is, you see your interface is disabled, if it was not when you would test game in studio there would be black transparent line on top of the screen, that is not visible in roblox studio so when you will press play it looks like all your UI Went' down

this is my speculation tho, I am beginner and I have had similar problem like this, all I did was take my UI bit higher at area which was not visible in studio

You don't really know about this. Since its size is much smaller than your pc that you are running, its scale/offset makes it so that it sets it in the device position. If the offset is 0, 15, 0, 15, a pc that is 1620x1080 will set the position to 0, 1605, 0, 1065. If it is 600x800 on a mobile device, it'll be 0, 585, 0, 785.

------- SOLUTIONS ------------ 1: Use scale, even tho it will not do much of a difference. 2: Use the Auto-Scale plugin. 3: Just keep it if none of the above solutions work.

6 comments

0

None of the solutions work

0

guis always do that

0

guis always do that

0

So then how do I make it not change position?

0

idk, you'll need to use a lot of complicated things, one is to somehow get the size of a device and using the emulator for positions. i'll no longer commenting on this thread anymore

0

I got it, it was pretty simple lol I just had to enable IgnoreGuilnset.

This discussion is preserved as it was. New answers, comments, and votes are closed.