Skip to content

@modoki/engine / index / lastInputDevice

Function: lastInputDevice() ​

lastInputDevice(world): InputDevice

Which device last produced input — for prompt swapping ("Press A" vs "Click").

Parameters ​

world ​

World

Returns ​

InputDevice

Built with Modoki.