CutInput beta
TypeAlias of @v12-engine/client
ts
export type CutInput = {
kind: 'key';
code: string;
key: string;
} | {
kind: 'click';
x: number;
y: number;
button: number;
};What the player did while their hands are off, for a cinematic's waits: a key (its code, the place on the keyboard: Enter, KeyE, Space; and key, what it made) or a click (where, in the canvas's pixels)