I made a script that can give me the angle of the mouse arround the Center Value
--[[
90
|
380 -- Center -- 180
|
270
--]]
But i dont know how i can get the Scale of the Center Position it is only getting the Offset of the Position.
Center = Vector2.new(UDim2.new(0.5,0,0.5,0)) -- idk what i am doing anymore
-- calculation to obtain the angle that is just getting the offset
Angle = (math.atan2(MousePos.y-Center.X, MousePos.x-Center.Y)*180 / math.pi)+180;

1 comment
C: Thanks , i finally can make a radial menu.