Keyhole effect?

Monte Goulding monte at
Tue Apr 14 18:58:02 EDT 2020

If I understand what you want correctly then:

Create image
Create mask object
Group both
Set the ink of the mask object to blendDstIn
Set the ink of the group to blendSrcOver

Like everything else graphical I’m sure Scott Rossi has a better way ;-)



> On 15 Apr 2020, at 7:31 am, Richard Gaskin via use-livecode <use-livecode at> wrote:
> Back in the day I could easily make a sort of keyhole effect, in which I used one graphic to obscure an image, and a second graphic on top as a mask to define a shape (such as a keyhole) through which I could see a portion of the image.
> It was done easily enough with inks.
> Inks that, it seems, we no longer have.
> So given the subset of inks we're now limited to, has anyone here seen firsthand an example of this in LC v9.x?
> -- 
> Richard Gaskin
> Fourth World Systems
> Software Design and Development for the Desktop, Mobile, and the Web
> ____________________________________________________________________
> Ambassador at      
> _______________________________________________
> use-livecode mailing list
> use-livecode at
> Please visit this url to subscribe, unsubscribe and manage your subscription preferences:

More information about the use-livecode mailing list