Original by @Linop and @quchia2. I edited it so you can move the masked sprite independently to the other sprite.