Skip to content

@modoki/engine / index / setInputAxis

Function: setInputAxis() ​

setInputAxis(world, a, v): void

Set an analog axis on the Input singleton (test/tooling convenience).

Parameters ​

world ​

World

a ​

"moveX" | "moveY" | "lookX" | "lookY"

v ​

number

Returns ​

void

Built with Modoki.