Multiple Click Events

I have 3 actors, a blowing fan, the wind from the fan and the switch for the fan, now I have a general attribute that triggers true if the switch is clicked or touch and that changes the fan color from red to green and allows the wind to blow, problem is that when I preview internally or in a web browser and I click the switch it looks like the click event multiplies many times and a fraction of a second the fan color and the wind appears and disappears many times, so I have to click it reeeeaaaalllly quick to make work properly, have you seen this?

Comments

  • jamie_cjamie_c ImagineLabs.rocks Member, PRO Posts: 5,772
    I haven't seen that before, maybe try using "when touch is released" instead of "when touch is pressed" and see if you still have the same issue.
  • dgarciadgarcia Member Posts: 7
    Thanks a lot Jamie_c. But I've tried everything, when released, inside, outside, mouse click instead of touch. But same result :(
  • dgarciadgarcia Member Posts: 7
    Now I know what was happening, it may look like a very dumb mistake, but Im sure Im not the only one. What was happening was that I had 2 Rules one said "when pressed" change color and the other rule said (again) "when pressed" change the color. So What I was doing wrong is that I had to separate rules. I needed one rule inside another: Rule1: "When pressed" change color, OTHERWISE Rule2: "When pressed" change color.

    Hope it helps. feel free to contact me if you need it.
Sign In or Register to comment.