Playmaker Forum

PlayMaker Help & Tips => PlayMaker Help => Topic started by: indeed on February 11, 2015, 11:03:55 AM

Title: Mousedown seeing "through" other objects[SOLVED]
Post by: indeed on February 11, 2015, 11:03:55 AM
Hi, I have a scene with a Cube that I click to rotate it. I added the MouseDown event to trigger it and it works great. But, in front of the cube there is a wall, and it registers the mousedown through the wall, so the cube starts rotating when you can't even see it. Is there a way to do it so that other objects in the scene block the mousedown event so it only works when the Cube is visible?

PS, definitely new to playmaker so apologies if I'm missing something obvious.
Title: Re: Mousedown seeing "through" other objects
Post by: indeed on February 11, 2015, 12:17:07 PM
Oh! Had to add colliders to the walls. Works now.