mattdesl

mattdesl/touch-position

get current mouse/touch position

JavaScript
15
3
MIT License

This library provides a simple way to track mouse or touch coordinates as a 2D vector `[x, y]`. It's designed for developers building interactive web applications or games who need real-time pointer position data, offering both a direct array return and an EventEmitter interface for handling move events.

Total donated
Undistributed
Share with your subscribers:

Recipients

How the donated funds are distributed

Support the dependencies

Support the repos that depend on this repository

Top contributors

mattdesl's profile
mattdesl
14 contributions
hughsk's profile
hughsk
1 contributions

Recent events

Kivach works on the Obyte network, and therefore you can track all donations.

No events yet