How to find the center absolute position of a gui element?

Hello everyone!

I’m currently attempting to find the absolute center position of a gui element (x and y). If anyone knows a which in which I can find the absolute center position of a gui element, that’d be much appreciated.

The GuiBase2d class has absolute properties that you can use to determine this.

Never mind solved it. Thanks for the response anyway.