getInputAction

fun getInputAction(type: ScreenSpaceEventType, modifiers: JsAny? = definedExternally): JsAny(source)

Returns the function to be executed on an input event.

Return

The function to be executed on an input event.

Parameters

type

The ScreenSpaceEventType of input event.

modifiers

The KeyboardEventModifier keys that are held when a type event occurs.

See also