Skip to content

Fill Rects

Fill multiple rectangular tile areas with a single tile in one action.

Use this when your layout is already represented as a list of rects (for example room generation output).

Common Parameters

Parameter Description
Tilemap Target Tilemap to modify.
Rect List List of rectangles/bounds to process.
Tile Tile to place for each rectangle.

Typical Use

  1. Generate a list of room or region rects.
  2. Pass the list into Fill Rects.
  3. Paint all regions in one pass.

Notes

  • Great for procedural room placement workflows.
  • For per-rect tile selection, run separate passes or custom logic between fills.