This property can't be read in early-execution mode.
ReadonlyhardDistance
hardDistance:number
Remarks
Distance in blocks at which the leash stiffens, restricting
movement.
Throws
This property can throw when used.
World Ready
This property can't be read in early-execution mode.
ReadonlyisLeashed
isLeashed:boolean
Remarks
Returns true if the entity is leashed.
Throws
This property can throw when used.
World Ready
This property can't be read in early-execution mode.
ReadonlyisValid
isValid:boolean
Remarks
Returns whether the component is valid. A component is
considered valid if its owner is valid, in addition to any
addition to any additional validation required by the
component.
World Ready
This property can't be read in early-execution mode.
Allows the entity to be leashed. Defines the conditions and events for when an entity is leashed.
Example: entityLeashable.js