Roblox Controls and Cameras
Sets up Roblox controls for keyboard, touch and gamepad with the Input Action System, plus custom cameras.
Claude's review
7/10 Clear Roblox input guide built on the Input Action System with contexts, binding fields, gameProcessedEvent, reserved keys, BindToRenderStep cameras and a cross platform checklist.
We asked Claude the question you would ask: would I be glad I installed this? Two separate reviews, the second blind to the first, must both rate a skill 7 or higher before we sell it.
In detail
Player input and cameras across keyboard/mouse, touch, gamepad, VR - Input Action System (InputContext, InputAction, InputBinding), UserInputService (PreferredInput, gameProcessedEvent, mouse lock), ContextActionService, reserved keys, custom cameras with BindToRenderStep. Use when adding controls, keybinds, abilities, vehicles, on-screen buttons, or custom cameras.
How you use it
- Add it to your pack, then download your pack (1 credit).
- In Claude, open Customize > Skills and upload the zip. Code execution needs to be on under Settings > Capabilities.
- Ask Claude for the job in your own words. It uses the skill when your request matches what it does. Step by step guide
Safety check
Nothing risky found: no hidden instructions, no download and run, no reading of saved passwords or keys.
An automated scan lowers risk but cannot promise zero risk. How we check skills
Preview
The first lines of SKILL.md
---
name: roblox-input
description: Player input and cameras across keyboard/mouse, touch, gamepad, VR - Input Action System (InputContext, InputAction, InputBinding), UserInputService (PreferredInput, gameProcessedEvent, mouse lock), ContextActionService, reserved keys, custom cameras with BindToRenderStep. Use when adding controls, keybinds, abilities, vehicles, on-screen buttons, or custom cameras.
---
# 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
Build and audit it visually in the **Input Action Manager** (Window → Input → Input Action Manager; fully
released): a table of contexts/actions/bindings per device that flags missing bindings and duplicate keys,
and shows live action state in Play Solo.
Structure (typically in `ReplicatedStorage.Inputs`, or created from a client script):
```text
Inputs (Folder)
PlayContext (InputContext, Priority 1000) -- gameplay controls
Sprint (InputAction, Type = Bool)
Keyboard (InputBinding, KeyCode = LeftShift)
Gamepad (InputBinding, KeyCode = ButtonL3)
Touch (InputBinding, UIButton = <on-screen TextButton>)
MenuContext (InputContext, Priority 2000, Sink = true, Enabled = false)
```
- `InputAction.Type`: `Bool` (press/release), `Direction1D` (triggers, zoom), `Direction2D` (move, camera),
`Direction3D` (flying), `ViewportPosition` (pointer position).
- Events: `Pressed`, `Released` (Bool only), `StateChanged(value)` for every type. `action:GetState()` reads the current value.
- `InputBinding` fields: `KeyCode`; composite directions `Up/Down/Left/Right/Forward/Backward`; `Scale`
(e.g. `0.01` for `MouseDelta`/`TouchDelta`); `PressedThreshold`/`ReleasedThreshold` for analog triggers;
...From EL4CTEO's repository, MIT licence.
Related skills
-
Checked
Roblox Luau scripting
Writes well structured Roblox Luau scripts and fixes common errors like LocalScripts that never run.
7/101 credit -
Checked
Roblox simulator economy
Designs upgrade costs, income rates, rebirth pacing and egg odds for Roblox simulator and tycoon games.
8/101 credit -
Checked
Roblox Studio editing
Edits a Roblox place or Rojo project safely and proves each change with the right test before reporting.
7/101 credit -
Checked
Roblox Game Structure
Helps you organise a Roblox game's client and server code, data flow and streaming so it stays secure.
7/101 credit -
Checked
Roblox monetisation
Adds Robux purchases, passes and subscriptions to a Roblox game without losing or double granting sales.
7/101 credit -
Checked
Roblox Physics and Raycasts
Helps you build Roblox hit detection, vehicles and projectiles with modern physics APIs and no jitter or flinging.
7/101 credit