method
Input.key_released
Input.key_released(key) -> bool
Returns whether a key went up this frame — held last frame, not held now. The falling edge, for release-triggered actions (charge-and-release, letting go of a grip).
Example
program Demo {
entry {
Input.press('a')
Input.poll()
Input.release('a')
Input.poll()
if Input.key_released('a') { print(1) }
}
}