Precise touch selection problem.

I’m creating a 2D isometric map.  For the map editor portion, I want to be able to select which tile to work on by touching it. The actual dimensions of each tile are 64x48 (this includes the transparent space).

In the photo below, the section that is highlighted with a black border is the area that I want to touch to select the tile.

pnhm.png

The issue I’m having is that I can click in the transparent space of the .png and still select that tile.

Is there any way I can define the boundaries that the touch event will trigger on?

Let me know if you need any more details! Thanks in advance.

~QuicK

You can use a mask file.  Check the docs

Thank you! Wasn’t sure how to look it up :smiley: That fixed everything.

You can use a mask file.  Check the docs

Thank you! Wasn’t sure how to look it up :smiley: That fixed everything.