advanced-input

Manage pointer lock, input polling, and player movement restrictions in Decentraland scenes via InputAction and InputModifier.

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

SYSTEM DOCUMENTATION & REQUIREMENTS

What problem does it solve?

This Skill provides advanced control over user input within Decentraland scenes, enabling custom interactions beyond basic clicks and movement.

Core Features & Use Cases

  • Pointer Lock: Detect and manage cursor capture for first-person perspectives.
  • Input Polling: Check for specific key presses or global input states.
  • Movement Restriction: Temporarily disable or modify player movement for cinematic or gameplay purposes.
  • Custom Controls: Implement unique WASD movement or action bar systems.
  • Use Case: Create an FPS-style game where the player's cursor is locked and movement is controlled via custom input polling.

Quick Start

Use the advanced-input skill to detect when the player presses the 'E' key.

Frequently Asked Questions about advanced-input

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

FAQPage Schema
How do I implement pointer lock for first-person controls in Decentraland?

You can implement pointer lock in Decentraland by detecting and managing cursor capture state within your scene. This skill manages the pointer lock state to enable first-person perspective interactions.

How do I detect specific key presses like WASD for custom movement in Decentraland?

Detect specific key presses in Decentraland using input polling via InputAction. This skill provides per-entity and global input polling to check for specific key presses, enabling custom WASD movement patterns.

Can I restrict player movement temporarily during gameplay or cinematics in Decentraland?

You can restrict player movement in Decentraland during gameplay or cinematics by applying InputModifier. This skill allows you to temporarily disable or modify player movement as needed.

Does Decentraland support custom action bar key bindings for gameplay?

Decentraland supports custom action bar key bindings for gameplay using advanced input handling. This skill enables action bar key bindings alongside global input polling for enhanced scene interactivity.

What is the best way to handle global input states for multiple entities in a Decentraland scene?

The best way to handle global input states for multiple entities in a Decentraland scene is per-entity and global input polling. This skill manages input polling via InputAction to check global input states efficiently.