5
$\begingroup$

I have a little red plane above a big green plane:

I have set the red plane for one action, and the green plane for another when i click them.

But when i click one the red (in the game) that click activate both of the planes.

How to deactivate the green plane when the mouse is over the red plane?

$\endgroup$
0

1 Answer 1

4
$\begingroup$

  If the Mouse Sensor is set to Left Mouse Button, it will simply register if the mouse button is pressed, regardless where you do it.

  You can combine it with a Mouse Over Sensor and use an And Controller. Then the Actuator is only triggered when the mouse is over the right object and LMB is pressed.

Mouse Over

$\endgroup$
1
  • $\begingroup$ I'm curious. Did answer your question? $\endgroup$ Oct 8, 2013 at 13:56

You must log in to answer this question.

Not the answer you're looking for? Browse other questions tagged .