Skip to content
Work in progress. These docs describe Spawnite at launch, and some parts are still being built.

GroundPaintOptions

What every GroundPaint takes, whatever its shape.

Property Type Description
material string A material the ground draws: a built-in, such as "dirt", or one the game’s src/maps/materials.json or the map’s materials add.
replace? readonly string[] Paint only cells that show one of these materials, as Roblox’s Terrain:ReplaceMaterial takes a source material: a path over grass but not over road. A cell shows its overlay where the overlay’s blend is over one half, and its base otherwise, after every paint below this one. Left out, every cell; empty, none.
sortOrder? number Where two paints cover one cell, the higher draws, as Unreal’s decal SortOrder. Left out, 0. Of two at the same order, the material later by code point draws, the same on every page.