• Skip to main content
  • Skip to search
  • Skip to select language
MDN Web Docs
  • References
    • Overview / Web Technology

      Web technology reference for developers

    • HTML

      Structure of content on the web

    • CSS

      Code used to describe document style

    • JavaScript

      General-purpose scripting language

    • HTTP

      Protocol for transmitting web resources

    • Web APIs

      Interfaces for building web applications

    • Web Technology

      Web technology reference for developers

  • Guides
    • Overview / MDN Learning Area

      Learn web development

    • MDN Learning Area

      Learn web development

    • HTML

      Learn to structure web content with HTML

    • CSS

      Learn to style content using CSS

    • JavaScript

      Learn to run scripts in the browser

    • Accessibility

      Learn to make the web accessible to all

  • MDN Plus
    • Overview

      A customized MDN experience

    • Documentation

      Learn how to use MDN Plus

    • FAQ

      Frequently asked questions about MDN Plus

  • Already a subscriber?
  • Get MDN Plus
  1. References
  2. Web APIs
  3. MouseEvent
  4. MouseEvent.y

In this article

  • Specifications
  • Browser compatibility

Related Topics

  1. UI Events
  2. MouseEvent
  3. Constructor
    1. MouseEvent()
  4. Properties
    1. altKey
    2. button
    3. buttons
    4. clientX
    5. clientY
    6. ctrlKey
    7. layerX
    8. layerY
    9. metaKey
    10. movementX
    11. movementY
    12. Non-Standard mozInputSource
    13. offsetX
    14. offsetY
    15. pageX
    16. pageY
    17. relatedTarget
    18. screenX
    19. screenY
    20. shiftKey
    21. Non-Standard WEBKIT_FORCE_AT_FORCE_MOUSE_DOWN
    22. Non-Standard WEBKIT_FORCE_AT_MOUSE_DOWN
    23. webkitForce
    24. x
    25. y
  5. Methods
    1. getModifierState()
    2. Deprecated initMouseEvent()
  6. Inheritance:
    1. UIEvent
    2. Event
  7. Related pages for UI Events
    1. CompositionEvent
    2. FocusEvent
    3. InputEvent
    4. KeyboardEvent
    5. MouseScrollEvent
    6. MutationEvent
    7. UIEvent
    8. WheelEvent

In this article

  • Specifications
  • Browser compatibility

MouseEvent.y

The MouseEvent.y property is an alias for the MouseEvent.clientY property.

Specifications

Specification
CSSOM View Module
# dom-mouseevent-y

Browser compatibility

BCD tables only load in the browser

Found a problem with this page?

  • Edit on GitHub
  • Source on GitHub
  • Report a problem with this content on GitHub
  • Want to fix the problem yourself? See our Contribution guide.

Last modified: Jun 2, 2022, by MDN contributors

MDN logo

Your blueprint for a better internet.

  • MDN on Twitter
  • MDN on GitHub

MDN

  • About
  • Hacks Blog
  • Careers

Support

  • Product help
  • Report a page issue
  • Report a site issue

Our communities

  • MDN Community
  • MDN Forum
  • MDN Chat

Developers

  • Web Technologies
  • Learn Web Development
  • MDN Plus
Mozilla logo
  • Website Privacy Notice
  • Cookies
  • Legal
  • Community Participation Guidelines

Visit Mozilla Corporation’s not-for-profit parent, the Mozilla Foundation.
Portions of this content are ©1998–2022 by individual mozilla.org contributors. Content available under a Creative Commons license.