<!-- Do not edit this file. It is automatically generated by API Documenter. --> [Home](./index.md) > [puppeteer](./puppeteer.md) > [Protocol](./puppeteer.protocol.md) > [Input](./puppeteer.protocol.input.md) > [DispatchMouseEventRequest](./puppeteer.protocol.input.dispatchmouseeventrequest.md) > [x](./puppeteer.protocol.input.dispatchmouseeventrequest.x.md) ## Protocol.Input.DispatchMouseEventRequest.x property X coordinate of the event relative to the main frame's viewport in CSS pixels. <b>Signature:</b> ```typescript x: number; ```