Ninjadoodle Posted May 25, 2018 Share Posted May 25, 2018 Hi @enpu I'm still working on my settings menu and I have a question about the 'interactive' property. If I have an overlay sprite that is interactive(solid color box), it basically acts as a barrier, so the items underneath can't be clicked. If I make this sprite invisible, then the sprites underneath become clickable again. If I however put interactive sprites(buttons) inside the parent sprite, and then turn it invisible, the child sprites still remain interactive, even tho they are invisible along with the parent. Is this by design? I feel like it would be better to disable interactivity on all sprites the parent holds, if it's made invisible. Just asking, so I can design around if necessary Thank you! Quote Link to comment Share on other sites More sharing options...
enpu Posted May 30, 2018 Share Posted May 30, 2018 @Ninjadoodle I had to take a closer look on the engine code, and yes currently it seems to be by design, visible property doesn't affect interactivity of it's childrens. I have to see if i should do some redesigning there. Could you instead of using the visible property, use addTo and remove on the overlay sprite? That's should also disable all interactivity. Quote Link to comment Share on other sites More sharing options...
Ninjadoodle Posted May 31, 2018 Author Share Posted May 31, 2018 Hi @enpu No problem Just wanted to clarify, and I'm going to use addTo instead. 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.