xb-gestures

Recognize hand gestures like pinch and fist in XR environments.

455|91|Updated Sep 25, 2025
One-click install
npx skills add https://github.com/google/xrblocks --skill xb-gestures
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: xb-gestures
Source: https://github.com/google/xrblocks/tree/main/skills/xb-gestures
Command: npx skills add https://github.com/google/xrblocks --skill xb-gestures

SYSTEM DOCUMENTATION & REQUIREMENTS

💡 This Skill includes scripts (resource) components.

What problem does it solve?

This Skill addresses the challenge of integrating gesture recognition into XR applications, allowing developers to create interactive experiences with hand tracking.

Core Features & Use Cases

  • Gesture Detection: Recognize named hand gestures like pinch, open-palm, fist, thumbs-up, point, and spread.
  • Event Subscription: Subscribe to gesture start, update, and end events for dynamic interaction.
  • Customization: Enable specific gestures and adjust detection thresholds.
  • Use Case: Ideal for creating interactive menus, controls, or game mechanics in XR environments.

Quick Start

Initialize gesture recognition in your XR Blocks app with xb.init(options) where options include gesture-enabled settings.

Frequently Asked Questions about xb-gestures

High-intent search queries and answers about installing and using this skill.

FAQPage Schema
How do I add hand tracking and gesture recognition to an XR experience?

Hand tracking and gesture recognition in XR environments are enabled by detecting named hand gestures like pinch, fist, and open-palm. This allows developers to create interactive menus and game mechanics without physical controllers.

What gestures can I detect for interactive XR development?

Interactive XR development supports detecting specific named gestures including pinch, open-palm, fist, thumbs-up, point, and spread. You can enable specific gestures and adjust detection thresholds to customize your application's interactive experiences.

How do I subscribe to gesture events for dynamic XR interaction?

Subscribing to gesture events for dynamic XR interaction involves listening to gesture start, update, and end events. This event subscription mechanism enables responsive controls and interactive menus based on real-time hand tracking changes.

Do I need TensorFlow Lite or PyTorch for XR gesture models?

TensorFlow Lite or PyTorch are required to run gesture models for XR hand tracking. These frameworks provide the underlying machine learning inference needed to recognize and respond to user hand gestures in XR environments.

Can I customize gesture detection thresholds in XR applications?

Gesture detection thresholds in XR applications can be customized to enable specific gestures and adjust sensitivity. This allows developers to fine-tune hand tracking responsiveness for interactive controls and game mechanics in XR Blocks.