what's the state of makers,when they are not in the captured image?

I added a maker to represent the mouse cursor. and the cursor moves according to the same way the maker moves. When it stop moving, there is a timer to count, and if the elapsetime is less than 2 seconds, the Left Botton will be DOWN. If I want the
Left Botton Up, when the maker escaped the captured image. How can I do? Is there a BOOL variable in Maker Class representing the state of the maker whether it is in or out of the captured image?