Page 1 of 1

Screen coordinates

Posted: 23 Jul 2015, 13:49
by frcol
is there a way to get the screen coordinates by the tile position?
Example: I clicked the tile 23,45. What´s it´s screen x, y position (top left)?

I´m getting the mouse position nowadays, but it has the tile width and heigth range that I don´t want.

Re: Screen coordinates

Posted: 23 Jul 2015, 15:03
by Bax
You should get the tile's x and y coordinates and play with the localToGlobal or globalToLocal functions provided by Flash.