advanced-input

Poll system-level input and control pointer state in Decentraland scenes.

3|Updated Apr 13, 2026
One-click install
npx skills add https://github.com/decentraland/sdk-skills --skill advanced-input-decentraland
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: advanced-input
Source: https://github.com/decentraland/sdk-skills/tree/main/advanced-input
Command: npx skills add https://github.com/decentraland/sdk-skills --skill advanced-input-decentraland

SYSTEM DOCUMENTATION & REQUIREMENTS

What problem does it solve?

Handling real-time input in Decentraland scenes is complex: you need reliable polling, movement control, and cursor state awareness to support fluid gameplay and interactive sequences.

Core Features & Use Cases

  • System-level input polling: isTriggered and isPressed for keys and actions, enabling responsive WASD movement and multi-key combos.
  • PointerLock and cursor state: detect and react to cursor capture for FPS-style control and UI interaction.
  • Movement restrictions: use InputModifier to freeze or limit movement during cutscenes or guided sequences.
  • World-space pointer data: access PrimaryPointerInfo for screen coordinates and world ray direction to drive interactions.
  • Use Case: implement a cinematic sequence with a frozen player, then resume control, or drive a custom movement system for an NPC.

Quick Start

Use the advanced-input skill to wire up continuous input polling and movement control in your scene.

Frequently Asked Questions about advanced-input

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

FAQPage Schema
How do I handle continuous WASD movement and multi-key input in Decentraland?

Detect and react to cursor capture for FPS-style control in Decentraland using PointerLock and cursor state awareness. The system exposes pointer state detection to manage UI interaction transitions during gameplay.

Can I freeze player movement during cutscenes in a Decentraland scene?

Freeze or limit player movement during cutscenes in Decentraland by applying InputModifier restrictions. This allows you to halt movement for cinematic sequences and seamlessly resume control afterward.

How do I access world-space pointer data and screen coordinates in Decentraland?

Access world-space pointer data and screen coordinates in Decentraland via PrimaryPointerInfo. This provides the world ray direction and screen coordinates needed to drive interactions within the scene.

What is the best way to implement real-time input polling for an ECS entity in Decentraland?

The best way to implement real-time input polling for an ECS entity in Decentraland is through system-level polling. This captures continuous key and action states to drive custom movement systems for NPCs or players.