setInput
setInput<
Value>(handle,value):void
Holds handle at value from code, as a game’s own touch control,
device or camera does: a button held while true, an axis or a vector at
the value, added to what its keys hold, an angle at the value. It
stands until set again; false or the input’s rest lets go. A button
declared edge: true is pressed once by true, as a tap of its key
is, and holds nothing.
Type Parameters
Section titled “Type Parameters”| Type Parameter |
|---|
Value extends InputValue |
Parameters
Section titled “Parameters”| Parameter | Type |
|---|---|
handle |
InputHandle<Value> |
value |
Value |
Returns
Section titled “Returns”void