- simple calculation for mouse loc