Gavriel Loria Posted August 18, 2017 Share Posted August 18, 2017 Hi, Suppose I have a sprite (say, a warrior), and then another sprite -- the warrior's shadow -- is added as a child as the warrior sprite; is it the case that if I click on the warrior's shadow, I am also clicking on the parent warrior sprite? Alternatively, is there a way to signify clicking on the child without clicking on the parent? I'm currently having trouble trying to do this. In this case, the sprites are adjacent to but not on top of each other. Thanks! Quote Link to comment Share on other sites More sharing options...
Taz Posted August 18, 2017 Share Posted August 18, 2017 You can set interactiveChildren to false for the warrior, then clicking on the shadow won't trigger the warrior's interaction events. Quote Link to comment Share on other sites More sharing options...
Recommended Posts
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.