CrimsonInput · Lesson 3 of 8

Create Actions & a Mapping Context

Beginner4 minSetup

Before you start

  • Completed: Enable the Plugin
Video coming soon

Chapters

1. Create the Input Actions

These are ordinary Enhanced Input assets. Create one InputAction per thing the player does — e.g. IA_Move with Value Type = Axis2D (Vector2D) and IA_Ability1 with Value Type = Digital (bool).

2. Create the Mapping Context

Create an InputMappingContext (IMC_Default) and add key bindings: WASD → IA_Move (with the usual swizzle/negate modifiers), QIA_Ability1, plus gamepad equivalents.

IA_Move (Axis2D), IA_Ability1 (Digital), and IMC_Default binding keys to them.
Two maps, two jobs
The IMC maps keys → actions. The Crimson config maps actions → tags. You need both — the IMC is about hardware, the config is about meaning.