Get Global PointerEventData

I have to create my own PointerEventData and constentlyy update it’s position, not to mention that it comes with a bunch of default values.

Is there a global/static PointerEventData I can get, maybe one generated by the event system or Input module, so I don’t have to deal with the default values and manually update its position.

Thanks

I’m not sure what you mean by global/static event data as it’s basically just an object that contains the info from a mouse event. If the data from the event is what you’re looking for you can hook into the event system with a custom function using an Event Trigger.