Collision with dragged imagesprite and counter

I have an imagesprite X which is scrolled with the finger and must collide with another imagesprite Y. When X collides with Y, a counter should be incremented by one unit and the imagesprite X should return to its starting point. The problem is that, when colliding, since the finger is kept pressed (even if it is milliseconds), the counter is incremented many times because it is interpreted that the imagesprite is still colliding. Is there any way in which the imagesprite, once collided, only increments the counter once.

Can anyone tell me how can I do it? Thanks!!

I presume you will lift the finger at some point ?

Does this work for you ?

1 Like

perfect! of course, that is a good solution, of course!

This topic was automatically closed 7 days after the last reply. New replies are no longer allowed.