circle(radius: number, opt?: CircleCompOpt): CircleComp
Attach and render a circle to a Game Object.
param
radius- The radius of the circle.
param
opt- Options for the circle component. See
add([ pos(80, 120), circle(16), ])
returns
The circle comp.
since
v2000.0