Making a Tangram with Tetris objects

I’m making a puzzle game with Tetris blocks but when I touch the transparent zones of them, the touch event is called. How to disable it? Thanks

Use a mask. :wink:

Thanks :slight_smile: But very heavy to do a so basic thing :’ Not sure you develop 10x faster with Corona…

In my image sheet there’re all the blocks and their masks. I load the blocks of the sheet with display.newImage() but how to load the masks from this sheet with graphics.newMask() ?? The parameter of this function is a filename but I need send the sheets image and data…

In fact my question is how to use image sheet with graphics.newMask()?

Use a mask. :wink:

Thanks :slight_smile: But very heavy to do a so basic thing :’ Not sure you develop 10x faster with Corona…

In my image sheet there’re all the blocks and their masks. I load the blocks of the sheet with display.newImage() but how to load the masks from this sheet with graphics.newMask() ?? The parameter of this function is a filename but I need send the sheets image and data…

In fact my question is how to use image sheet with graphics.newMask()?