masking graphics

has anyone been able to make this call actually work…or am i just missing the point…

isHitTestMasked

…in a loop…

 pictureObj[i] = display.newImage( pathStr ,0,0)--its 0,0 coz i move it later  
 local themaskPathStr="masks/".."mask"..i..".png"  
 local mask = graphics.newMask( themaskPathStr )  
 pictureObj[i]:setMask( mask )  
 pictureObj[i].isHitTestMasked = true  
 pzObject[i]:addEventListener( "touch", onTouch )  

i cannot seem to limit the touches to just the mask area…its always the whole pictureObj

Any help much appreciated :slight_smile: [import]uid: 85717 topic_id: 14398 reply_id: 314398[/import]

there was a bug, and masking was not working, until the next daily build after latest stable release. If you have a subscription, download daily build 600 or later. [import]uid: 46529 topic_id: 14398 reply_id: 53221[/import]

Thanks for the info… [import]uid: 85717 topic_id: 14398 reply_id: 53241[/import]