---
id: input-release
name: Input.release
category: input
kind: namespace-method
tokens: Input.release
sig: Input.release(key)
tip: Release an injected key.
order: 12
ns: Input
member: release
---
Releases a key previously held with Input.press. After the next Input.poll the key reads as up (and fires Input.key_released that frame).
```ludic
program Demo {
entry {
Input.press('w')
Input.poll()
Input.release('w')
Input.poll()
print(0)
}
}
```