Function tetra::input::is_key_pressed

source ·
pub fn is_key_pressed(ctx: &Context, key: Key) -> bool
Expand description

Returns true if the specified key was pressed this tick.