Jump to content

GUI - Don't intercept clicks in transparent areas


royibernthal
 Share

Recommended Posts

Sorry for spamming with feature requests...

It'd be great if clicks on transparent areas won't be intercepted.

For instance, say we have 2 containers, both span over the whole stage.

Both containers have elements aligned differently in a way that all elements are perfectly visible.

The container at that was added last will intercept clicks on transparent areas, and not allow any interaction with the container that was added before.

Link to comment
Share on other sites

  • 2 weeks later...

What do you think about having an option in a control to not intercept mouse events at all when visible? e.g. control.mouseEnabled = false

By the way, when you set isVisible to false, is the control not rendered at all? Is it safe to leave on stage invisible controls or will they use considerable resources nonetheless?

Link to comment
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

Loading...
 Share

  • Recently Browsing   0 members

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