Got a LiveCode personal license? Are you a beginner, hobbyist or educator that's new to LiveCode? This forum is the place to go for help getting started. Welcome!
The "mouseMove" message is sent when using any tool, so you could change that tool if the mouseLoc is within the rect of any control or any defined area. The handler might lie in the card script, and test any number of conditions that you require to manage the painting process.