Distance in blocks at which the leash stiffens, restricting
movement.
抛出
This property can throw when used.
只读isLeashed
isLeashed:boolean
备注
Returns true if the entity is leashed.
抛出
This property can throw when used.
只读betaisValid
isValid:boolean
备注
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.
Allows the entity to be leashed. Defines the conditions and events for when an entity is leashed.