Skip to content

Clear Rects

Clear tiles for multiple rectangular areas in one action.

This is useful for removing generated regions, opening paths, or resetting many zones at once.

Common Parameters

Parameter Description
Tilemap Target Tilemap to modify.
Rect List List of rectangles/bounds to clear.

Typical Use

  1. Build a list of areas to remove.
  2. Pass the list into Clear Rects.
  3. Continue with additional fill/detail passes.

Notes

  • Use this for bulk cleanup after generation.
  • For single-region cleanup, use Clear Rect.