Skip to lesson
LESSON 09 / 44 · Beginner

Configure custom keys and input actions

Give a game named actions that keyboard and touch controls can share.

Open editor in a new tab ↗

Before you begin

Start with a player using keyboard movement.

Build it step by step

  1. Open Game → Game controls. Inspect the existing movement and Jump actions before adding another.

  2. Choose the binding for the action you want to change. Give movement and jumping distinct keys that are easy to use together.

  3. Add an action such as Interact and assign a key. Naming an action alone does not give it a gameplay effect.

  4. Open Rules and choose Input action. Select Interact and Pressed, then add an action such as APPEARANCE → Play built-in effect on the player.

  5. Test a quick tap and a held key. Pressed fires on the press; Held is useful with WHILE; Released fires on release. Save the project to keep the control definitions.

TRY THIS IDEA

Practical example

Interact bound to E can make the player pulse once. The same action can also be exposed as a touch button.

Test your work

Only the configured key triggers your rule, and changing the binding does not require rewriting the rule.

If it does not work

Controls are currently game-wide. Assigning WASD to a second character does not create independent two-player control sets.

MAKE IT YOUR OWN

Student challenge

Create an Interact action and bind it to a different key without changing its rule.

Show the result to a partner. Explain what you changed and how you tested it.

Keep exploring