roblox-input
Installation
SKILL.md
Roblox input and camera
Choose an approach
| Approach | Use when |
|---|---|
Input Action System (InputContext → InputAction → InputBinding) |
New gameplay controls. Cross-device bindings configured as instances, contexts you enable/disable, built-in on-screen button binding, prompt display. Recommended. |
UserInputService events |
Raw input, text-free hotkeys, mouse position/delta, touch gestures, device detection. |
ContextActionService:BindAction |
Legacy/simple bind-with-mobile-button; existing code. |
All input handling is client-side. Send intent to the server via remotes; the server validates.
Input Action System
Structure (typically in ReplicatedStorage.Inputs, or created from a client script):