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

CargoPathOptions

How the path from the carrier to the nearest station draws: a ribbon on the ground along the navmesh’s route, as Roblox’s Beam with a texture.

Property Type Default value Description
color? ColorRepresentation "#ffb627" The pattern’s colour.
fadeDistance? number 1 Metres over which it fades in at the carrier’s feet and out before the station’s radius.
opacity? number 1 The whole path’s opacity.
pattern? CargoPathPattern CargoPathPattern.Arrows What it draws along its length, unless texture is given.
patternLength? number 1 Metres one repeat of the pattern spans.
scrollSpeed? number 1.2 Metres a second the pattern runs toward the station; 0 holds it, as a solid path always is.
texture? Texture<unknown, TextureEventMap> | null undefined The game’s own pattern in place of pattern: its u runs along the path toward the station and its v across, white where it draws.
width? number 0.6 Metres across.