ColorRect

Inherits: Control < CanvasItem < Node < Object Colored rectangle.

Description

color. If you need to display the border alone, consider using ReferenceRect instead.

Tutorials

  • 2D Dodge The Creeps Demo

    Properties

    Property Descriptions

  • Color color The fill color.
    1. $ColorRect.color = Color(1, 0, 0, 1) # Set ColorRect's color to red.