Jump to content

[SOLVED] Translucence events WidgetFlash


photo

Recommended Posts

Posted

Hello.

 

Created an interface with WidgetFlash, but there was a problem. If you click the mouse on the panel Flash, the event 'click' on WidgetFlash work on the stage and Unigine. It is possible to stop the spread of the event?

 

Thank.

  • 2 weeks later...
Posted

There's WidgetFlash::getActivity method for that. In your game logic, you need to check if a mouse button is pressed - and if by that getActivity returns 1, then an interface button is pressed.

×
×
  • Create New...