Quick Links: Download Gideros Studio | Gideros Documentation | Gideros community chat | DONATE
Event.MOUSE_HOVER: weird behaviour — Gideros Forum

Event.MOUSE_HOVER: weird behaviour

Hi there,

I noticed a weird behaviour (or maybe I do something wrong).
Here is a very minimal piece of code (the issue also occurs with more code and for example a size for stage)
stage:addEventListener(Event.MOUSE_HOVER, function(event) print("it works") end)
This alone won't work.
It needs another event listener attached to stage to make it works (before or after), even if the function do nothing:
stage:addEventListener(Event.MOUSE_DOWN, function(event)end)
I hope I'm clear enough.

Do you know what happens?

Thx for your help.


Sign In or Register to comment.