isWithinInteractReach
isWithinInteractReach(
world,target,entity):boolean
Whether entity’s body stands within target’s Interact sphere, its
radius plus the allowance a room gives a press, since its copy of the
entity walks a move or two behind the player’s page’s. This is the one
reach an interact press, a dialog’s pick and an open conversation each
take. The body is met by its shape, as the Interact’s prompt meets it;
one with no body in the scene by its capsule or its point. False where
target has no Interact or either has no place.
Parameters
Section titled “Parameters”| Parameter | Type |
|---|---|
world |
World |
target |
Entity |
entity |
Entity |
Returns
Section titled “Returns”boolean