# mouseMove not being called (before clicking) in Plugins in Juce Host

**URL:** <https://forum.juce.com/t/mousemove-not-being-called-before-clicking-in-plugins-in-juce-host/12889>\
**Category:** Audio Plugins\
**Created:** [May 23, 2014, 9:24am UTC](https://forum.juce.com/t/mousemove-not-being-called-before-clicking-in-plugins-in-juce-host/12889 "2014-05-23T09:24:24Z")\
**Posts on this page:** 2\
**Page:** 1

<div class="post-metadata">

**Author:** ![chkn](https://sea2.discourse-cdn.com/flex026/user_avatar/forum.juce.com/chkn/32/3862_2.png) [@chkn](https://forum.juce.com/u/chkn)\
**Post date:** [May 23, 2014, 9:24am UTC](https://forum.juce.com/t/mousemove-not-being-called-before-clicking-in-plugins-in-juce-host/12889/1 "2014-05-23T09:24:24Z")

</div>

mouseMove only will be called after the&nbsp;mouse&nbsp;has&nbsp;once&nbsp;clicked on the GUI (even when the plugin-window was in the forground)

Tested on Mac with latest tip, in JUCE Plugin Host and my own juce based host as AU and VST2&nbsp;(Component is child of other Components)

In Standalone applications it seems to work! (Maybe a juce plugin hosting problem only)

&nbsp;

&nbsp;

---

<div class="post-metadata">

**Author:** ![jules](https://avatars.discourse-cdn.com/v4/letter/j/41988e/32.png) [@jules](https://forum.juce.com/u/jules)\
**Post date:** [May 23, 2014, 9:49am UTC](https://forum.juce.com/t/mousemove-not-being-called-before-clicking-in-plugins-in-juce-host/12889/2 "2014-05-23T09:49:30Z")

</div>

That's just how OSX&nbsp;works - no&nbsp;mouse-move events get sent&nbsp;until a window has focus.

In a stand-alone app I use some tricks to do it differently, and send events to all Components, but that's not possible&nbsp;for windows that are hosted.
