# How to get mouse coords in Mousetrap.jl

**URL:** <https://discourse.julialang.org/t/how-to-get-mouse-coords-in-mousetrap-jl/109685>\
**Category:** General Usage\
**Tags:** question, mousetrap\
**Created:** [February 3, 2024, 9:21pm UTC](https://discourse.julialang.org/t/how-to-get-mouse-coords-in-mousetrap-jl/109685 "2024-02-03T21:21:31Z")\
**Posts on this page:** 1\
**Page:** 1

<div class="post-metadata">

**Author:** ![Lilith](https://sea2.discourse-cdn.com/julialang/user_avatar/discourse.julialang.org/lilith/32/27492_2.png) [@Lilith](https://discourse.julialang.org/u/Lilith)\
**Post date:** [February 3, 2024, 9:21pm UTC](https://discourse.julialang.org/t/how-to-get-mouse-coords-in-mousetrap-jl/109685/1 "2024-02-03T21:21:31Z")

</div>

Is there a function to poll the current mouse position in Mousetrap.jl? I want my render\_area to render differently depending on where the mouse is.
