# Webgl 3d point mouse interaction

**URL:** https://discourse.processing.org/t/webgl-3d-point-mouse-interaction/22526
**Category:** Coding Questions
**Created:** [July 10, 2020, 10:25am UTC](https://discourse.processing.org/t/webgl-3d-point-mouse-interaction/22526 "2020-07-10T10:25:58Z")
**Posts on this page:** 1
**Showing post:** 2

<div class="post-metadata">

### Author: ![Chrisir](https://yyz2.discourse-cdn.com/flex036/user_avatar/discourse.processing.org/chrisir/32/45_2.png) [@Chrisir](https://discourse.processing.org/u/Chrisir)
#### Post date: [July 10, 2020, 11:09am UTC](https://discourse.processing.org/t/webgl-3d-point-mouse-interaction/22526/2 "2020-07-10T11:09:50Z")

</div>

You can use this in addition with dist(mouseX , mouseY, …

> [@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)

---

_[View the full topic](https://discourse.processing.org/t/webgl-3d-point-mouse-interaction/22526)._
