---
id: collision-circles
name: Collision.circles
category: collision
kind: namespace-method
tokens: Collision.circles
sig: Collision.circles(ax, ay, ar, bx, by, br) -> bool
tip: Do two circles overlap?
order: 2
ns: Collision
member: circles
---
Returns true when circles centred at (ax, ay) and (bx, by) with radii ar and br overlap — that is, when the distance between centres is at most ar + br. It compares squared distances internally, so there is no square root and no precision loss.
```ludic
program Demo {
handler Step phase Update {
if Collision.circles(px, py, 8, ex, ey, 8) { collide() }
}
}
```