Mouse relative to Translations and Scale

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:

2 Likes