Any way to detect if the mouse is off screen?

in this flash game i’m making, i’ve hidden the mouse icon and made crosshairs which are positioned wherever the mouse currently is. it works fine and dandy, except if i take the mouse off the screen, in which case it leaves the crosshairs at the edge where the mouse last was. i know it’s not a big deal, but it also caused some minor problems with this drawing program i made before (which drew lines between the previous mouse position and the current) where if you took the mouse off the edge of the frame and brought it back over somewhere else it would draw a big line between those two points… so i’m just curious if there’s any way to detect if the mouse has gone outside of flash’s borders. TIA :slight_smile: