Beta Private constructorReadonly Beta entityThe entity that owns this component.
Readonly softDistance in blocks at which the 'spring' effect starts acting to keep this entity close to the entity that leashed it.
This property can throw when used.
Readonly typeIdentifier of the component.
Static Readonly componentThe entity to leash this entity to.
Leashes this entity to another entity.
This function can't be called in read-only mode.
This function can throw errors.
Allows this entity to be leashed and defines the conditions and events for this entity when is leashed.