Jump to content
This forum will be closing down. Please move to the respective dedicated project forums.

Handling a Button that I want to hide after clicking...


dnkm
 Share

Recommended Posts

I have a button that I want to 'disappear' when it's clicked (moving to a different scene) so I use...

 

    this.items.setAll("visible", false);
    this.items.setAll("exists", false);
 
(items is a group holding all buttons for the scene)
 
...which works fine. The problem is that the mouse cursor then remains in the 'hand' state until you move over and out of a different button.
 
Any ideas on how to handle this? It's not a massive issue, just looks a bit odd.
Link to comment
Share on other sites

  • 5 months later...
 Share

  • Recently Browsing   0 members

    • No registered users viewing this page.
×
×
  • Create New...