How is absoluteposition and absolutesize calculated?

how is absoluteposition and absolutesize calculated?
i know that absolutesize is calculated using something like this

Vector2.new(parent.AbsoluteSize.X * size.Scale.X + size.Offset.X, parent.AbsoluteSize.Y * size.Scale.Y + size.Offset.Y)

but how would absoluteposition be calculated

They’re based off the screen resolution of the native device (current device).

doesn’t answer my question? i know that its based off the screen resolution / parent absolute size

You asked how both were calculated, I provided an answer. You may be able to find more info above.

1 Like