Preparing search index...

    Targeting priority for this Interactable. Higher-priority Interactables are preferred over closer, lower-priority ones when an interactor targets.

    The same preference orders interaction casts: single-target casts return the highest-priority hit, and all-hits casts return results in priority order (then nearest first). On a direct hit it also drives cursor positioning, snapping the cursor to the highest-priority collider along the ray.

    Lens Scripting Version 375

    const options = new SpecsInteractionModule.InteractableOptions();
    options.targetingPriority = SpecsInteractionModule.TargetingPriority.High;
    interaction.registerInteractable(script.getSceneObject(), [collider], options);
    Index

    Enumeration Members

    Enumeration Members

    High: number

    Preferred over closer TargetingPriority.Normal Interactables.

    Lens Scripting Version 375

    Normal: number

    Default priority.

    Lens Scripting Version 375