View Full Version : event listener in Alice 3.1

10-12-2012, 02:41 PM
Does anyone know how to work with mouse listener?

I'm having trouble with mouse listener. I'm trying to use mouseclickonobject listener, but I cannot specify an object. It works when I click on any object, but I want the animation to do different things when each object clicked. I couldn't figure out how to do it.

10-12-2012, 10:31 PM
Sadly, we have not yet completed implementing this feature, due to work we are doing with types...

You will need to write a conditional that specifically tests for each possible object, that you are interested in, and responding appropriately...

Don Slater

10-15-2012, 02:46 PM
I tried what you said. It is a long code line, but it worked though.

Thank you,