wilfryed Posted August 13, 2014 Share Posted August 13, 2014 I try to get the tile ID of the tile under the mouse pointer by using getTile() to compare to a tile's ID of my choice, but that don't work as expected. I know it's possible with some collisions detections, but how to do that with the mouse pointer? Edit: I don't want the ID, but the type of tile! Edit: So I've found what I want: getTile(X,Y,'layer-name').index, that works! Link to comment Share on other sites More sharing options...
Recommended Posts