I have an intersecting line algorythm if you like. As long as you store the old co-ordinates of the mouse each frame then it'd be a piece of cake to check whether the line described by the mouse between this frame and the last intersected with another line... Want it?