Rob,
I feel like it cannot be achieved, as the mask always puts a black background on
local halfW = display.contentCenterX
local halfH = display.contentCenterY
-- Image to be masked
local image = display.newImageRect( "image.png", 768, 1024 )
image:translate( halfW, halfH )
-- Black background
local bg = display.newRect(0, 0, 768, 1024)
bg:setFillColor(0, 0, 0, 200)
-- Mask
local mask = graphics.newMask( "circlemask.png" )
image:setMask( mask )
i just need the above code to show the overlay… but where the mask is to be shown properly without the overlay
so the idea is the fog is always shown on the image… but when I touch a particular location of the image the fog at that location disappears and I should be able to see through…
so my idea was have my normal image… add a black transparent rectangle (fog)… but then the problem is how do I add the mask? cause as soon as I add the mask, the whole screen goes black… also the mask circle now shows the image with the fog… 
Thanks again [import]uid: 67619 topic_id: 33361 reply_id: 132583[/import]