https://github.com/jrincayc/ucblogo-code
Raw File
Tip revision: ac1bb38520fa1fb925e0308c4f73f7a899acbf77 authored by Joshua J. Cogliati on 26 March 2023, 18:09:31 UTC
Updating version to 6.2.4
Tip revision: ac1bb38
mousepos
MOUSEPOS

	outputs the coordinates of the mouse, provided that it's within the
	graphics window, in turtle coordinates.  If the mouse is outside the
	graphics window, then the last position within the window is returned.
	Exception:  If a mouse button is pressed within the graphics window
	and held while the mouse is dragged outside the window, the mouse's
	position is returned as if the window were big enough to include it.

back to top