isDown

fun isDown(key: Key): Boolean

Returns whether key is held down — level state.

Return

true while the key is held.

Parameters

key

The Compose key code to test.