Really quick (and probably stupid) question: can I make a clickable button under a clip? I’m working on a project that needs this function or something similar. Any advice is appreciated. Cheers!
-
Mr. Quacks
Really quick (and probably stupid) question: can I make a clickable button under a clip? I’m working on a project that needs this function or something similar. Any advice is appreciated. Cheers!
-
Mr. Quacks
You could make a clip that covers the entire screen and detects when you click. Then you just see if the mouseX and mouseY is somewhere in the button (if its a box its easy although I would have to double check the code for it).
Or you could just put the objects from the button and clip together and just have the pieces from the button behind the objects from the clip. Then you can just use the regular button functionality.
Thanks for your suggestion! I’ll try it out when I have time later. Cheers!
-
Mr. Quacks