PrivateconstructorReadonlycanReadonlyentityReadonlyhardReadonlyisOptional ReadonlyleashOptional ReadonlyleashReadonlymaxReadonlysoftReadonlytypeStatic ReadonlycomponentWhether the component is valid.
Unleashes this entity if it is leashed to another entity.
This function can't be called in read-only mode.
Allows the entity to be leashed. Defines the conditions and events for when an entity is leashed.
Example: entityLeashable.js