Interactive Studio
back to documentation

Interactive Studio

Build no-code gameplay with tasks, triggers, effects, values, and player feedback.

Key Pressed

What it does

Key Pressed changes a task when the local player presses the selected input. You can optionally require a second input as a combination.

Required item compatibility

This is a player-input event. Add it through an item that offers the Tasks panel; the selected input and task connection determine the behavior.

Setup

  1. Add Key Pressed and choose a task transition.
  2. Choose With A Key Code Of from the available selector.
  3. Optionally choose Combined with key code for a two-key input.
  4. Add effects to the destination state.

Settings

Setting What it means
With A Key Code Of Primary input from the available key selector.
Combined with key code Optional second input; leave it as None for one input.

Tiny example

Pressing H changes Not Active → Active for Help Panel; Active opens an iframe, while another input resets the task.

Test and troubleshoot

  • Test in normal play, not while typing in a text field or another overlay.
  • Avoid inputs the browser or operating system reserves.
  • If the combination never fires, verify both selected inputs and try a simple one-input version first.

Related pages