TextMouseX

HC Graphics Turtle and Window Queries TextMouseX
TextMousePos TextMouseY

x TextMouseX


outputs the column coordinate of the mouse in the console window, in units of characters.

Example:

forever [
	textxpos=TextMouseX
	dispatchMessages
	updateVars
]
;look at the vars window while moving the mouse in the console!

Reference:

TextMousePos TextMouseY