// IsKeyPressed returns a boolean indicating whether key is pressed. // // This function is concurrent-safe. func IsKeyPressed(key Key) bool { return ui.CurrentInput().IsKeyPressed(ui.Key(key)) }
// IsKeyPressed returns a boolean indicating whether key is pressed. func IsKeyPressed(key Key) bool { return ui.IsKeyPressed(ui.Key(key)) }