justPressed

fun justPressed(button: Button): Boolean

Returns true if button was pressed this update.

See also