public static bool IsKeyPressed(string key) { try { return(InputBridge.IsKeyPressed(key)); } catch { return(false); } }