Fairly Simple Question


  • Posts: 43
Any help would be great...

I want to click an Actor and add +1 to score but only when another actor is on screen.
So I created a Boolean for when the other actor is on screen.
My problem is when I click the actor, if I click real fast I can get more than +1
I kill the actor when Clicked then add +1... But as stated if im fast I can get more than +1
Im sure I can figure it out but my heads all over today, so why not ask you fine folks :)

Screenshot added

Cheers Mike


  • Posts: 1617
You can make another boolean to check if the actor can be clicked.. set it to false when clicked...  also try moving this code to when mouse released


  • Posts: 43
I did try the 'when Released' but that didnt change anything really...
Ok well I can try summit like your first suggestion.
Thanks for the reply