ReferencemouseIsPressedOn this pagemouseIsPressedDescriptionThe variable mouseIsPressed is true if the mouse is pressed and false if not.SyntaxmouseIsPressed