I have a frame with an AnchorPoint of 0.5, 0.5, and it’s Positioned at 0.5 on the X axis. However, AbsolutePosition for the X shows ‘576’ for a screen of 1920. Now, half of 1920 ain’t 576. So why is this the case?
The hub states
The
GuiObject.AnchorPoint
also influences the AbsolutePosition. This property,GuiBase2d.AbsoluteSize
andGuiBase2d.AbsoluteRotation
are a group of properties that all describe the final rendered orientation of a UI element.For example, on a 1920 by 1080 screen, a
Frame
with position {0.5, 0}, {0.5, 0} would have an AbsolutePosition of (960, 540). If you were to place another Frame with position {0, 50}, {0, 50} inside that one, its AbsolutePosition would be (1010, 590). This example assumes each Frame has the defualtGuiObject.AnchorPoint
of (0, 0), the top left corner.
https://developer.roblox.com/en-us/api-reference/property/GuiBase2d/AbsolutePosition
So either that’s wrong, or this is a bug?