Up to date

This page is up to date for Redot 4.3. If you still find outdated information, please create an issue.

ColorRect

Inherits: Control < CanvasItem < Node < Object

A control that displays a solid color rectangle.

Description

Displays a rectangle filled with a solid color. If you need to display the border alone, consider using a Panel instead.

Tutorials

Properties

Color

color

Color(1, 1, 1, 1)


Property Descriptions

Color color = Color(1, 1, 1, 1) 🔗

The fill color of the rectangle.