Represents a group of blocks.
Readonly
The bounds of the group of blocks.
The color of this shape.
The position of this child.
The rotation of this child.
The shapeId of this shape. Determines the model and behavior in-game.
Connects this child to another child. Both children must be interactable.
The Child object or the ID of the child to connect to.
Disconnects this child from another child.
The Child object or the ID of the child to disconnect from.
Gets a list of the IDs of the children this child is connected to.
The list of IDs.
Gets the ID of the child.
The ID of the child.
Protected
Static
Attempts to convert a Child to Blocks. Only returns if the Child's file object is Blocks.
The converted Blocks, or undefined if the Child was not Blocks.
The Child to convert.
Creates a group of blocks.
The created group of blocks.
The shapeId of the group of blocks.
The position of the group of blocks.
Optional
The color of the group of blocks. Fallbacks to the block's default color.
Generated using TypeDoc
Represents a group of blocks.