ProximityPrompts have a 1px gap

ProximityPrompts have a 1px gap when using the standard UI
image

To reproduce, insert a ProximityPrompt and hold the interaction key. Once the circle goes past 50%, you’ll notice the gap. This might depend on your screen resolution or camera angle, etc since it is likely a rounding error.

7 Likes

Yeah, this only happens when using a lower res device (usually a phone)

I believe this is because that element uses an image, so obviously it would be downscaled to scale to the screen resolution.

1 Like

Image downscaling does not mean things become unaligned by 1px - this is almost always a rounding error caused by human error.

For example, Guis have AbsolutePosition which returns a decimal. You have to round the value to figure out which pixel it’s rendering on - but some people assume you can just drop the decimal, which leads to issues like the OP.

Thanks for the report! We’ll follow up when we have an update for you.

2 Likes

Still happening
image

1 Like

this still happens, looks horrible
i fixed it by making the radial images closer to each other by a bit (custom pp code from the docs)

frame.Position += UDim2.fromOffset(leftSide and 1 or 0)
elsewhere:
bar.Position += UDim2.fromOffset(-1, 0)

4 Likes

Thank you for the bug report! Sorry for the delay – this should be fixed now. Please let us know if the issue continues!

2 Likes