Jump to content

[TOPIC: topicViewTemplate]
[GLOBAL: userSmallPhoto]
Photo

Mouse Hover
Started by ninad Aug 30 2017 06:24 AM

3 replies to this topic
release macos windows hover mouse
[TOPIC CONTROLS]
[/TOPIC CONTROLS]
[modOptionsDropdown]
[/modOptionsDropdown]
[reputationFilter]
[TOPIC: post.html]
#1

ninad

[GLOBAL: userInfoPane.html]
ninad
  • Observer

  • 9 posts
  • Corona SDK

Just released this new plugin for Corona projects that are targeting macOS and Windows. It allows you to detect when the mouse cursor is hovering over display objects by adding a "mouseHoverevent listener to them.

 

Here’s a short video showing it in action with three overlapping display objects. The objects light up when the mouse hover's over them, with one of them blocking the propagation of the hover.

 

https://marketplace.coronalabs.com/plugin/mouse-hover


  • Develephant, vlads and Benzeliden like this

[TOPIC: post.html]
#2

Andriy Pertsov

[GLOBAL: userInfoPane.html]
Andriy Pertsov
  • Contributor

  • 211 posts
  • Corona SDK

Thank you, Ninad.
Very useful plugin, hope Corona will include it by default someday.


  • ninad likes this

[TOPIC: post.html]
#3

miguel.campiao

[GLOBAL: userInfoPane.html]
miguel.campiao
  • Observer

  • 9 posts
  • Corona SDK

Has anyone tried this with html5 builds? It's not working for me.



[TOPIC: post.html]
#4

ninad

[GLOBAL: userInfoPane.html]
ninad
  • Observer

  • 9 posts
  • Corona SDK

Has anyone tried this with html5 builds? It's not working for me.

 

Hi Miguel,

 

While we didn't specifically develop this for html5, I just tried an html5 build of the demo project code and it seems to be working ok. Are you still having trouble with this?




[topic_controls]
[/topic_controls]

Also tagged with one or more of these keywords: release, macos, windows, hover, mouse