I have a movieclip on the stage that's acting as a mask with an instance name of 'mask_mc'. It's a 160x600 box.

I would like to have an onEnterFrame function, that tracks the mouse's Y position and sets mask_mc to that position value minus 160 (so the bottom of my mask lines up with the mouse).

I also was wondering if there's a way to track when the mouse has left the stage, and if so, have it automatically set the mask_mc to a given position, [0,-279].