Body, Mind & Soul — API Reference
    Preparing search index...
    targetInRange: {
        allowedTargetScopes: never[];
        evaluate: (
            _cond: any,
            __namedParameters: { actor: any; featureItem: any; iterationTarget: any },
        ) => boolean;
        hooks: never[];
    }

    True when iterationTarget is within the acting action's effective reach of actor. Uses context.featureItem (the action being resolved in swing triggers) as the ranging action. Returns false if either position can't be resolved. Swing-geometry only — reads the raw iteration target, not the scope-resolved subject, since a range check is meaningless without a real resolved target.

    Type Declaration

    • allowedTargetScopes: never[]
    • evaluate: (
          _cond: any,
          __namedParameters: { actor: any; featureItem: any; iterationTarget: any },
      ) => boolean
    • hooks: never[]