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

CargoHighlightOptions

How a station that takes a held good lights up: an outline round each mesh under its Entity and a fill over it, as Roblox’s Highlight.

Property Type Default value Description
fillColor? ColorRepresentation "#ffd23f" The fill’s colour.
fillOpacity? number 0.5 The fill’s opacity at the top of its pulse; 0 draws no fill. Roblox’s FillTransparency is 1 minus it.
outlineColor? ColorRepresentation "#ffffff" The outline’s colour.
outlineOpacity? number 1 The outline’s opacity; Roblox’s OutlineTransparency is 1 minus it.
outlineThickness? number 4 CSS pixels the outline stands out from the mesh, the same on every screen and at every zoom. 0 draws no outline.
pulseSeconds? number 1.2 Seconds one whole pulse of the fill takes; 0 holds it steady.
throughScenery? boolean true Whether the fill draws over what stands in front of the station, as Roblox’s DepthMode.AlwaysOnTop. The outline stays behind it.