Reputation: 615
I setup a grid wherein the user touches one and moves through the grid.
The problem is that when the touch goes beyond the grid or beyond the screen, the touch does not end.
Do note that the grid is made up of individual square "buttons" that change color when the user drags their finger over them.
How do I fix this so the touch ends when it leaves the screen or leaves the grid?
Thanks for the help!
Regards,
John
Upvotes: 0
Views: 918
Reputation: 554
this seems to have already been answered here:
How do I detect a TouchOut event in Corona SDK?
And here:
touchEvent for Grid(2D-Array)of Sprites using Corona sdk
If you need more help, please post your code so it's easier to help you.
Upvotes: 1