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$
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$
  • $\begingroup$ I'm curious. Did answer your question? $\endgroup$ – Haunt_House Oct 8 '13 at 13:56

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Not the answer you're looking for? Browse other questions tagged or ask your own question.