A great demo that not only shows how to swipe along a grid.
But how to have enemies move every time the player moves.
Each enemy will check what positions it can move, add them to a table
and then a “Computer” actor will randomly select a row.
This row will tell which enemy to move, and to what position on the grid.
The file uses tables.
Hope you find it helpful