Last updated
Was this helpful?
ColoredRectangle is being phased out. Use the Rectangle standard element instead — Rectangle covers the same solid-color fill (through its Fill Color) plus an outline, gradients, drop shadows, dashed strokes, and rounded corners. New projects seed Rectangle rather than ColoredRectangle. ColoredRectangle remains available so existing projects keep working, but it will be removed in a future release.
ColoredRectangles are used to display solid color rectangles. It can be used to provide a solid colored background or placeholders for content such as Sprites. ColoredRectangles are also useful for quickly blocking out a UI or learning about Gum's layout with a visual object.
As the name suggests, ColoredRectangles have a Color property which can be modified.

Last updated
Was this helpful?
Was this helpful?

