Loading...
The IsPointInside method returns whether the argument X,Y are inside the Circle. The X and Y values are absolute values.
The following shows how to check if the Cursor is inside a Circle instance:
float worldX = GuiManager.Cursor.WorldXAt(0); float worldY = GuiManager.Cursor.WorldYAt(0); bool isInside = CircleInstance.IsPointInside(worldX, worldY);