Skip to content

API Variable vec2

github-actions[bot] edited this page Nov 24, 2026 · 1 revision

Variable: vec2

const vec2: ActionFactory<"vec2">;

Defined in: src/engine/input/actions.ts:93

A two-dimensional action (+Y up): sticks, the d-pad, WASD, pointer delta.

Clone this wiki locally