What is pageX and pageY?
What is pageX and pageY?
The pageX property returns the horizontal coordinate (according to the document) of the mouse pointer when a mouse event was triggered. The document is the web page. Tip: To get the vertical coordinate (according to the document) of the mouse pointer, use the pageY property.
What does the attribute pageX represent?
The pageX read-only property of the MouseEvent interface returns the X (horizontal) coordinate (in pixels) at which the mouse was clicked, relative to the left edge of the entire document. This includes any portion of the document not currently visible.
What is event pageY?
The event. pageY property returns the position of the mouse pointer, relative to the top edge of the document.
What is offsetX in Javascript?
The offsetX property returns the x-coordinate of the mouse pointer, relative to the target element. Tip: To get the y-coordinate, use the offsetY property.
What is mouse Delta?
Description: This function returns the change, in pixels, of the position of the player’s Mouse in the last rendered frame as a Vector2 . The sensitivity of the mouse, determined in the client’s settings and UserInputService.
What is clientX and clientY Javascript?
Definition and Usage The clientX property returns the horizontal coordinate (according to the client area) of the mouse pointer when a mouse event was triggered. The client area is the current window. Tip: To get the vertical coordinate (according to the client area) of the mouse pointer, use the clientY property.
What is the difference between pagex and pagey?
More “Try it Yourself” examples below. The pageX property returns the horizontal coordinate (according to the document) of the mouse pointer when a mouse event was triggered. The document is the web page. Tip: To get the vertical coordinate (according to the document) of the mouse pointer, use the pageY property.
What is pagex read-only?
The pageX read-only property of the MouseEvent interface returns the X (horizontal) coordinate (in pixels) at which the mouse was clicked, relative to the left edge of the entire document. This includes any portion of the document not currently visible.
What is the use of event pagex?
Definition and Usage. The event.pageX property returns the position of the mouse pointer, relative to the left edge of the document. Tip: This event property is often used together with the event.pageY property.
What is pagex and pagey in 3D Max?
3. The pageX and pageY property: The pageX and pageY are read-only properties that return the horizontal and vertical coordinates respectively relative to the left edge of the entire document, that is, relative to the left edge of the fully rendered content area in the browser window and just below the URL bar.