[Solved] How to tell pointer’s current x-y coordinates [duplicate]


This will tell you the current x-y coordinates.(displayed in console)

function move(e){
		console.log("x" + e.clientX);	
    console.log("y" + e.clientY);
}
 .box{     
      width: 600px;
			height: 500px;
			border: 1px solid black;
      }
<body>
	<div class="box" onmousemove="move(event)">

	</div>
</body>

solved How to tell pointer’s current x-y coordinates [duplicate]