by gamemakerdude » Wed Dec 10, 2014 6:25 am
Easy! All you have to do is create a Collision Event in the actor control panel of the actor you want to be invisible, then add a Script Editor action set to collide on any side of the other actor you want it to react to, and in the script editor call the Visibility State function to react to the event actor and its state to Disable. To undo this and make the actor appear visable again, create a Collision Finish event in the actor control panel, add a Script Editor action to react to the appropriate actor in collision. In the script editor, call another Visibility State function and this time, set its state to Enable. Et Voila!