ellipse(radiusX: number, radiusY: number): EllipseComp

Attach and render an ellipse to a Game Object.

paramradiusX- The radius of the ellipse on the x-axis.

paramradiusY- The radius of the ellipse on the y-axis.

add([
    pos(80, 120),
    ellipse(16, 8),
])

returnsThe ellipse comp.

sincev2000.0

kaplay logo

Misc

Layer