-
Notifications
You must be signed in to change notification settings - Fork 2
raylib.CheckCollisionPointCircle
JoeStrout edited this page Apr 29, 2026
·
2 revisions
Check if point is inside circle
| Parameter | Default Value | Note |
|---|---|---|
| point | ||
| center | ||
| radius |
| Condition | Return Value |
|---|---|
| (always) | number |
mousePos = raylib.GetMousePosition
hit = raylib.CheckCollisionPointCircle(mousePos, [200, 200], 50)
if hit then print "Mouse is inside the circle!"