You can only have 1 mask, so just loading a new mask will remove the original one.
I didn’t find any good way to remove a mask – I just set the x and y of the mask to be way out there and then I don’t worry about it. not the best solution, but it worked for my purposes. [import]uid: 13859 topic_id: 10115 reply_id: 36908[/import]
So, I dunno what you’re doing exactly that it’s not working for you – but something is up if you say you’re removing the original image, then creating a new image and then adding a new mask … I mean … your original mask isn’t associated to the new image at all… that’s like saying that any image you add inherits the mask. ?? I think you’ve got something else going on.
Anyway … In the example above, it changes the mask on the touchable background from mask 1 to mask 2.
(And my x/y change suggestion was only for use of actually removing a mask, not replacing one as that works fine for me just by adding the new mask.)
Good luck!
[import]uid: 13859 topic_id: 10115 reply_id: 36915[/import]