Skip to content

brushClears beta ​

Function of @v12-engine/editor

ts
brushClears: (tool: BrushTool) => boolean

Whether a brush can clear what stands in its way as it draws (BrushOptions.clears): every brush that draws on the ground under its footprint (the heights, cliffs and ramps, water, paint, a layer of cells, pathing). Not scatter, erase, fill or flood