I am developing a game like word search. I have used AndEngine for this and for displayig grid of words I have used TiledMap. In this game, we need to join letters to make a word as we drag our fingure it will draw line on tiles and make connection between letters. I am able to draw lines vertically and horizontally accurately but as I try to draw line diagonally it goes to the nearby tile and draw line from last touched tile to nearby tile. But as I carefully move to the diagonal tiles it draws line accurately. 

Can any one help me to solve this issue?

```
e.g.
----------------
|1   2   3   4 |
|5   6   7   8 |
|9  10  11  12 |
----------------

```

as shown in above e.g. 

I am able to draw line for `"1234" & "159"`, It means all horizontal and vertical positions works accurately.
But for `"963"` its not as accurate as i draw for horizontal and vertical.

![enter image description here](https://i.stack.imgur.com/3DPi2.jpg)

I want to draw line on one board as shown above. There will be letters below lines and need to connect correct words.