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

GridField

A grid field’s handle, Trait.fields.name, which editGrid and a collider built from a grid take.

Type Parameter Default type
Values extends GridArray GridArray
Dimensions extends 1 | 2 | 3 1 | 2 | 3
Owner extends Trait Trait
Property Modifier Type
[listItemType]? readonly [Values, Dimensions]
kind readonly Grid
name readonly string
size readonly GridSize
trait readonly Owner
type readonly GridArrayType