Trouble making a draggable gui using anchor points to be able to make a zoom effect

I am having trouble making a draggable gui that utilizes anchor points to position itself relative to the center so after that I would only have to modify the size of the gui to make a zoom effect. I have trouble finding the correct calculations to convert the mouse position into anchor points.

Nevermind! I found a way to fix my problem. I’m sorry to anyone that had the same problem as me but it’s way too complicated for me to explain it.

This topic was automatically closed 14 days after the last reply. New replies are no longer allowed.