6 Replies Latest reply on Mar 22, 2011 7:10 AM by Ned Murphy

    Make movie clip non-clickable unless another movie clip is visible


      Hi, I'm making a room escape game and I've run into a problem. When an item gets added to the inventory, I'd like the user to be able to click on the item to affect another object (e.g. clicking screwdriver hides screws and displays other image) however when I add the code to the item, if the item is clicked and it's nowhere near the object it affects, the image pops up and it looks really stupid.


      So what I'd like to be able to do, possibly using if and else statements or whatever's easiest, is to only have the inventory item be clickable if the movie clip of the object is affects is visible on the stage. Hope this makes sense, and thanks in advance for any help!