Is there a way to do this without creating a gui object, positioning it at Position, and reading its AbsolutePosition?
Thanks.
Is there a way to do this without creating a gui object, positioning it at Position, and reading its AbsolutePosition?
Thanks.
###You could do something like this, we are getting the Offset and Scale
AbsolutePosition = Vector2.new(GUI.Position.X.Scale, GUI.Position.Y.Scale)
GUIObject.Position = UDim2.new(0, GUIObject.AbsolutePosition.X, 0, GUIObject.AbsolutePosition.Y)
If I understand what you're saying then that should work
Meant a way to go from Position to AbsolutePosition without the use of guiobjects. Found a workaround to the particular problem I had that doesn't require doing this, but thanks anyway.
Oh ok. Still don't understand what you meant but ¯_(?)_/¯
You did it in reverse order. OP wants to make UDim2 an AbsolutePosition.
oh
This discussion is preserved as it was. New answers, comments, and votes are closed.
1 comment
it would depend on the parent size