iwsdk-ray
/iwsdk-ray
Verify ray clicks, UIKit selections, and DistanceGrabbable interactions with emulated XR controllers. Use for pointing, selecting, pressing spatial UI, or moving an object through a distance grab.
- Author
- big-black-ballz ↗
- Repository
- meta-vr-hackathon ↗
- Licence
- MIT
- Last repository change
- 10.11.2026
Assessment and security
- Files in this package
- 1
- Scripts
- 0
- HTML comments
- 0
- URLs in SKILL.md
- 0
No signals detected. Repository changed on 10.11.2026, without references to retired models or APIs.
MIT, open: use and modify while retaining author attribution.
What it does and when to use it
Verify ray clicks, UIKit selections, and DistanceGrabbable interactions with emulated XR controllers. Use for pointing, selecting, pressing spatial UI, or moving an object through a distance grab.
Arguments
/iwsdk-ray (use the current request)
Original author description
Verify ray clicks, UIKit selections, and DistanceGrabbable interactions with emulated XR controllers. Use for pointing, selecting, pressing spatial UI, or moving an object through a distance grab.
How it works
- Locate and aim once
- Select exactly one branch
- Evidence and stopping
SKILL.md preview
---
name: iwsdk-ray
description: Verify ray clicks, UIKit selections, and DistanceGrabbable interactions with emulated XR controllers. Use for pointing, selecting, pressing spatial UI, or moving an object through a distance grab.
argument-hint: '(use the current request)'
---
# IWSDK Ray Interaction
Choose one interaction branch from measured target components. Ray clicks and
distance grabs share aiming but not input duration or movement behavior.
## Locate and aim once
1. Check XR session state and enter only when inactive.
2. Find the named entity or runtime-named UIKit control, then query its
components and transform. For UIKit, prefer the live name assigned through
`requireElementById`; use a project test hook only when no addressable runtime
target exists.
3. Aim the requested controller with `xr look-at`. Do not translate the
controller toward a ray target.
## Select exactly one branch
### Click or UIKit button
For `RayInteractable`, `Pressed`, or a UIKit control, use one normal select:
```bash
npx @iwsdk/cli xr select --input-json '{"device":"controller-right","duration":0.2}'
```
Use an explicit select-value press/release only when the task needs to inspect
the held interval. Query the named application state or control effect after the
click; a screenshot alone is not interaction proof.
### Distance grab
For `DistanceGrabbable`, hold trigger button index `0`, optionally move the
controller, then release index `0`:
```json
{"device":"controller-right","buttons":[{"index":0,"value":1}]}
```
Check `movementMode` before deciding whether the object should remain remote or
move toward the hand. Query `Grabbed` or transform state while held and after
release. Do not substitute squeeze index `1`; that is the proximity-grab path.
For `MoveFromTarget`, do not inspect implementation source. Before pressing,
record controller position `P` and object position `S`, and compute the grab
distance `d = |S - P|`. While trigger is held, call `xr look-at` with the
requested object destination as `target` and `moveToDistance: d`; this preserves
the ray distance while moving its endpoint to the destination. Query the object
before release to confirm the move, then release and query again.
## Evidence and stopping
For a task with both a click and a distance grab, locate/aim/click/query the first
target, then locate/aim/hold-move-release/query the second. Do not rediscover the
CLI family, inspect pointer internals, or guess panel offsets from screenshots.
Capture one runtime image only when visual placement is part of the request.
When the request names an artifact path, save it directly with
`npx @iwsdk/cli browser screenshot --output-file <path>`; do not capture into model
context and then add a copy step.
Stop when the real input and resulting named state are proven, leaving all
buttons released.
Versions
| Repository | Score | Licence |
|---|---|---|
| This page · big-black-ballz/meta-vr-hackathon | 100 | MIT |
| natrajexplore/packetfall_meta | 100 | MIT |
Database snapshot: 13.11.2026 · package version 40253e9421cb (SHA-256 digest of the entire package)
Downloads in the last 30 days: 0 · ranking
Similar skills
- 100iwsdk-grab
Use emulated XR controllers to verify proximity grabbing for OneHandGrabbable and TwoHandsGrabbable objects. Use for pick up, move, release, or regression-test requests involving near-hand grab with the squeeze button. - 100iwsdk-grab
Use emulated XR controllers or hands to verify proximity grabbing for OneHandGrabbable and TwoHandsGrabbable objects. Use for pick up, move, release, or regression-test requests involving near-hand grab with the squeeze button or a hand pinch. - 100iwsdk-native-xr-test
Test an IWSDK app in a real Quest immersive session while controlling headset and controller poses through the IWSDK CLI. Use when the user asks to run, automate, or debug an app on a connected Quest rather than in desktop IWER emulation. - 100iwsdk-ui
Build or modify manifest-backed IWSDK UIKitML with bounded preview, placement, and runtime verification. Use for spatial panels, browser HUDs, UIKitML layout, fonts, editor previews, and runtime element behavior. - 100hz-iwsdk-webxr
Builds WebXR experiences for Meta VR and Horizon OS using the Immersive Web SDK (IWSDK) — ECS architecture, Three.js integration, spatial UI. Use when creating web-based VR/MR apps for Quest Browser. - 95debugging-output-and-previewing-html-using-ray
Use when user says "send to Ray," "show in Ray," "debug in Ray," "log to Ray," "display in Ray," or wants to visualize data, debug output, or show diagrams in the Ray desktop application.