Skip to content

System.Context.currentEvent.screenX

Description

Obtain the horizontal coordinates of the event target relative to the triggering event on the page.

Grammar

System.Context.currentEvent.screenX

Code Example

Get the horizontal page coordinates of the current trigger event.

const value = System.Context.currentEvent.screenX;
console.log(value)