This is an archived tutorial from the kirupa.com legacy collection. It covers software that may no longer be available, but it is kept online because the ideas still hold up.
After having answered many emails and message board posts on how to create a mask that follows the mouse AND how to drag a mask, I decided to create a tutorial on how to do both. This tutorial is two pages long (one page per each concept). Before you start off this tutorial, please make sure you understand how to mask objects and how to make objects follow the mouse. The URLs for those topics are mentioned below:
The example and the tutorial below will help you to create a mask that follows the mouse:
Creating A Follow Mask:
Before we start, please download the partial source below. Don't worry, the partial source will not have the key elements to make it work...you'll do that with the information found below. Click here to download the source.
Here's How:



startDrag
("drag", true);
That is all there is to making a mask follow your mouse. Of course, you may download the final source code for the Follow Mask Click Here
Just a final word before we wrap up. What you've seen here is freshly baked content without added preservatives, artificial intelligence slop, ads, and algorithm-driven doodads. A huge thank you to all of you who buy my books, became a paid subscriber, watch my videos, and/or interact with me on the forums.
Your support keeps this site going! 😇

:: Copyright KIRUPA 2026 //--