offsetLeft ; if(relativeX > 0 && relativeX < canvas.width) { paddleX ... this is equal to the distance between the canvas left edge and the mouse pointer.
確定! 回上一頁