ReferencemouseXOn this pagemouseXDescriptionThe mouseX variable contains the current horizontal coordinate of the mouse.SyntaxmouseX