I don’t think p5.js has screenX.
You might be interested in this past thread:
-
screenX screenY equivalent in p5.js
- …in particular the link to https://github.com/processing/p5.js/issues/1553
…and possibly the approaches used in this Java library:
I don’t think p5.js has screenX.
You might be interested in this past thread:
…and possibly the approaches used in this Java library: