MCPcopy Create free account
hub / github.com/Bloom-Engine/engine / isKeyDown

Function isKeyDown

src/core/index.ts:576–578  ·  view source on GitHub ↗
(key: number)

Source from the content-addressed store, hash-verified

574}
575
576export function isKeyDown(key: number): boolean {
577 return bloom_is_key_down(key) !== 0;
578}
579
580export function isKeyReleased(key: number): boolean {
581 return bloom_is_key_released(key) !== 0;

Callers 11

getMovementInputFunction · 0.90
handleInputFunction · 0.90
main.tsFile · 0.90
main.tsFile · 0.90
main.tsFile · 0.90
main.tsFile · 0.90
main.tsFile · 0.90
main.tsFile · 0.90
main.tsFile · 0.90
main.tsFile · 0.90
main.tsFile · 0.90

Calls 1

bloom_is_key_downFunction · 0.50

Tested by

no test coverage detected