# Click on a point on a sphere

**URL:** https://discourse.processing.org/t/click-on-a-point-on-a-sphere/18657
**Category:** Coding Questions
**Created:** [March 14, 2020, 4:44pm UTC](https://discourse.processing.org/t/click-on-a-point-on-a-sphere/18657 "2020-03-14T16:44:55Z")
**Posts on this page:** 1
**Showing post:** 5

<div class="post-metadata">

### Author: ![glv](https://yyz2.discourse-cdn.com/flex036/user_avatar/discourse.processing.org/glv/32/18785_2.png) [@glv](https://discourse.processing.org/u/glv)
#### Post date: [March 14, 2020, 11:58pm UTC](https://discourse.processing.org/t/click-on-a-point-on-a-sphere/18657/5 "2020-03-14T23:58:35Z")

</div>

Hello,

This may be helpful:

> [@screenX screenY equivalent in p5.js](https://discourse.processing.org/t/screenx-screeny-equivalent-in-p5-js/10581/5):
>
> I’ve seen that there are many others with the same problem. So I’ve decided to build a small library that adds this functionality to p5js. You’ll find the library here: And an example of how it’s used here: [https://editor.p5js.org/bohnacker/sketches/nUk3bVW7b](https://editor.p5js.org/bohnacker/sketches/nUk3bVW7b)

There is a 3D example in the GitHub repositiory.

`:)`

---

_[View the full topic](https://discourse.processing.org/t/click-on-a-point-on-a-sphere/18657)._
