--- id: collide-rect_circle name: Collide.rect_circle category: collide kind: namespace-method tokens: Collide.rect_circle sig: Collide.rect_circle(rx, ry, rw, rh, cx, cy, cr) -> bool tip: Does a rectangle overlap a circle? order: 3 ns: Collide member: rect_circle --- Returns true when the rectangle (rx, ry, rw, rh) overlaps the circle centred at (cx, cy) with radius cr. It finds the point on the rectangle nearest the circle's centre and checks whether it falls within the radius — the correct test for a round actor against a blocky tile. ```ludic program Demo { handler Step phase Update { if Collide.rect_circle(tx, ty, 16, 16, bx, by, 6) { block() } } } ```