# Read mouse position in Pluto?

**URL:** <https://discourse.julialang.org/t/read-mouse-position-in-pluto/105919>\
**Category:** General Usage\
**Tags:** question, plotting\
**Created:** [November 8, 2023, 12:35am UTC](https://discourse.julialang.org/t/read-mouse-position-in-pluto/105919 "2023-11-08T00:35:35Z")\
**Posts on this page:** 1\
**Showing post:** 8

<div class="post-metadata">

**Author:** ![disberd](https://avatars.discourse-cdn.com/v4/letter/d/8edcca/32.png) [@disberd](https://discourse.julialang.org/u/disberd)\
**Post date:** [November 22, 2023, 12:31pm UTC](https://discourse.julialang.org/t/read-mouse-position-in-pluto/105919/8 "2023-11-22T12:31:43Z")

</div>

@bobmccrory There is now a draft [PR](https://github.com/fonsp/Pluto.jl/pull/2726) in Pluto to have this more advanced communication between JS and Julia.

It is still a work in progress but your mandelbrot example is much easier to implement with this additional functionality.

I used the julia code from @lungben in [Mandelbrot with Plots.jl](https://discourse.julialang.org/t/mandelbrot-with-plots-jl/52410) for computing the colors in the plot.

[https://github-production-user-asset-6210df.s3.amazonaws.com/12846528/284906196-009a01c1-8ad5-49c5-b7e1-98ff68ac8c5e.mp4](https://github-production-user-asset-6210df.s3.amazonaws.com/12846528/284906196-009a01c1-8ad5-49c5-b7e1-98ff68ac8c5e.mp4)

You can check the notebook code in my comment to the PR itself, but you do need to use the Pluto version of the PR branch to start the server if you want to test this yourself.

---

_[View the full topic](https://discourse.julialang.org/t/read-mouse-position-in-pluto/105919)._
