Skip to content

Shape

Component.addShape

Component.addShape(entity, shapeType, width, height, radius, sides, thickness, filled, r, g, b, a) -> nil

Ensures a Position (with rotation). Color components are 0..255 ints.