circle(radius: number, opt?: CircleCompOpt): CircleComp

Attach and render a circle to a Game Object.

paramradius- The radius of the circle.

paramopt- Options for the circle component. See

add([
    pos(80, 120),
    circle(16),
])

returnsThe circle comp.

sincev2000.0