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!!