I want a constraint the defines point that a gui is positioned from. In all guis right now, the gui is positioned relative to the top-left of the parent gui. The UIAnchorPointConstraint would let you change this.
[Instance] UIAnchorPointConstraint
[Object] RelativeTo
[UDim2] Point
RelativeTo defines what gui to position the gui relative to. If RelativeTo is nil, it uses the parent gui instead. Offset defines how the gui should be positioned relative to within the RelativeTo gui.
For example, Point=(1,0,1,0) would make the gui position relative to the bottom right of the gui. By also setting RelativeTo, you can position the gui relative to a different gui’s bottom right corner.
This solves any problems that would arise due to guis right now being positioned only based on their parents position and size. A common example of this is guis with defined aspect ratios. In order to position a gui, say, 5 pixels to the right of a gui with a defined aspect ratio, you need to either mutilate your hierarchy or program the behavior yourself. And you need to do it every time you want to implement a design like that.