Jump to content

How to make a container and included sprites interactive?


Ninjadoodle
 Share

Recommended Posts

Is there a way I can make a whole container and the included sprites interactive?

 

Right now, if I set up a layer container and put sprites in it, I can enable interactivity on the individual sprites, but enabling and disabling interactivity on the layer/container does nothing.

 

Any way to do this without having to change the interactivity of each sprite, or the entire scene?

 

Thank you in advance!

Link to comment
Share on other sites

Perfect! That's exactly what I need :)

 

Thank you heaps for your help!

 

Just out of interest ...

 

if I set a a container.visible to true/false, then it affects all the children of that container.

 

How come setting container.interactive to true/false doesn't do the same?

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...