add-interactivity

Add click handlers, hover effects, and raycasting to Decentraland scene entities.

Updated Feb 26, 2026
One-click install
npx skills add https://github.com/dcl-regenesislabs/dcl-catalog --skill add-interactivity
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: add-interactivity
Source: https://github.com/dcl-regenesislabs/dcl-catalog/tree/main/.agents/skills/add-interactivity
Command: npx skills add https://github.com/dcl-regenesislabs/dcl-catalog --skill add-interactivity

SYSTEM DOCUMENTATION & REQUIREMENTS

What problem does it solve?

This Skill enables developers to add interactive elements to their Decentraland scenes, allowing for user engagement through clicks, hovers, and proximity detection.

Core Features & Use Cases

  • Pointer Events: Implement click and hover effects on scene entities.
  • Trigger Areas: Detect when players enter, exit, or stay within a defined area for proximity-based interactions.
  • Raycasting: Cast rays to detect objects in specific directions for targeted interactions.
  • Global Input: Handle key presses globally within the scene.
  • Use Case: Create a virtual museum where clicking on an exhibit displays more information, or build a game where players trigger events by entering specific zones.

Quick Start

Use the add-interactivity skill to make the 'my-cube' entity clickable with a 'Click me!' hover text.

Frequently Asked Questions about add-interactivity

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

FAQPage Schema
How do I make objects clickable in a Decentraland scene?

To make Decentraland objects clickable, you attach pointer event SDK components to entities, adding click handlers and hover text to enable user interaction and engagement.

How do I detect player proximity in Decentraland?

To detect player proximity in Decentraland, you implement trigger areas on scene entities. This detects when players enter, exit, or stay within defined zones for proximity-based interactions.

Can I use raycasting to detect objects in Decentraland?

Yes, you can use raycasting to detect objects in Decentraland by casting rays in specific directions. This enables targeted interactions by identifying entities along the ray's path.

Does Decentraland support global input handling for key presses?

Decentraland supports global input handling to process key presses globally within the scene. This allows you to handle user input events independently of specific entity interactions.

What do I need to set up trigger areas in a Decentraland environment?

To set up trigger areas in a Decentraland environment, you need the Decentraland SDK components designed for pointer events and trigger areas. These enable proximity detection and user input handling.