ReferencekeyIsPressedOn this pagekeyIsPressedDescriptionThe variable keyIsPressed is true if any key is pressed and false if no keys are pressed.SyntaxkeyIsPressed