readLocalInput
readLocalInput<
Value>(step,handle):Value|null
Reads the input this side’s player gave the step, or null with no input.
Read it before core.systems.copyInput, which takes an edge button off;
on a re-run it reads the input the re-run carries.
A vector is reused by the next read: copy its numbers to keep them.
Type Parameters
Section titled “Type Parameters”| Type Parameter |
|---|
Value extends InputValue |
Parameters
Section titled “Parameters”| Parameter | Type |
|---|---|
step |
SystemStep |
handle |
InputHandle<Value> |
Returns
Section titled “Returns”Value | null