APIInputis_key_up

is_key_up

Returns true while a key is not held.

Signature

is_key_up

Returns true while a key is not held.

Signature

is_key_up(key: str) -> bool

Parameters

NameTypeDefaultDescription
keystrNonekey argument for this API call.

Returns

bool

Example

from conjure import *

init_window(360, 640, "API")
while not window_should_close():
    begin_drawing()
    clear_background(WHITE)
    draw_text("Moosh", 120, 300, 28, BLACK)
    end_drawing()

See also

  • is_key_down
  • is_key_pressed
  • is_key_released

Return to the input overview or continue with the quickstart.