Imagelabel moves away from original position set in editor while playtesting

Hey,
So while I was making a scope for my game in Studio and play testing,
The scope move’s down for some reason and I can’t figure out why and what could be done to fix, I tried using AnchorPoint but it still moves a little downwards and make it inaccurate, I also tried using the AutoScale plugin and scale everything but nothing seem’s to help, can anyone help me with this? Thanks a lot in advance!
Also here’s some image’s of what I mean:

In editor:

While playtesting:

1 Like

Are you sure your screen sizes aren’t affecting the GUI’s positioning?
Show us the line in your script that places the GUI.

1 Like

I’m not sure about the screen size, my laptop comes default at 2736x1824 but for the sake of compatibility, I set it to 1920x1080, also there isn’t any local script handling the positioning of the GUI…

1 Like

Try changing position from offset to scale.

2 Likes

I did using the AutoScale lite plugin, doesn’t change anything, also I think I forgot to mention but the Imagelabel has many children in it and isn’t a single part:
image

1 Like

I just did a search and found that you’d asked this question less than a week ago. Frame being placed in different position while play testing than where I placed it in Studio editor
Why is this a different issue now?

Seems like your play screen and your studio screen sizes are different.
How is it when you play the game on the Roblox site?

1 Like

No I mean that was a different problem, the cross hair thingy moving away from the centre, but now it’s partially fixed, it now stays to the centre with AnchorPoint but when I test it on different screen resolutions, it kinda glitches, here’s what I mean:
image
^ This is how it looks on 2736 x 1824 res, the main display res of my laptop,
and here’s how it’s supposed to look:
image
^ Above is 1920 x 1080, I specifically designed the above UI in 1920 x 1080 for better support with different display’s but it messes up either way, I’m not sure, and in the original post,
this:


I gave up on it since it was just completely glitching out, tried everything from autoscaling to adding constraints to idk anymore but none helped so I quit on that, but I’d really appreciate if you could somehow possibly help on what to do with the other UI’s bug/glitch of screen res incompatibility…

pardon me for the late reply, haven’t checked devforum in a while because of the frustration of working on this.

1 Like

playing on the Roblox client made no difference, still the same problem from Studio play testing follows up in there as well…

What are the Properties of your UDim2 values in the GUI?
I believe there should be no Offset and the Scale should be .5 to center the GUI.
I think if you change the AnchorPoint to the center of the GUI it should align with the screen center every time.

1 Like

Try using UIAspectRatio. That will fix. Sorry for late reply.

1 Like

Okay thanks, I will give it a go after some time.

1 Like

Thanks a lot for the reply but I’ve finally decided that I’m gonna redo the entire UI again from scratch since it wasn’t the best UI and I couldn’t just put on band aid fixes on it since I’m looking for realism, 2 hours later I’ve redisgned it entirely and scaling works perfectly! I made it on my 16 Macbook Pro and converted all the elemts one by one into scale and it works, tested it using the device option and it’s so much better and scaled perfectly as I exactly intended. Thanks again for the reply, sadly I can’t test it.