Represents any non-block part.
Readonly
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 a Part. Only returns if the Child's file object is a Part.
The converted Part, or undefined if the Child was not a Part.
The Child to convert.
Creates a part.
The created part.
The shapeId of the part.
The position of the part.
The rotation of the part.
Optional
The color of the part. Fallbacks to the part's default color.
Generated using TypeDoc
Represents any non-block part.