OnTextMouseMotion

HC GUI programming Custom Event Handlers OnTextMouseMotion
OnTextMouseMiddleDClick OnMouseLeftDown

OnTextMouseMotion commands


This command sets the Logo event handler for a mouse motion event of the console. This way it enables custom mouse behavior of the console.

Example:

OnTextMouseMotion [
	ifelse MouseButtons != 0 [PenDown][PenUp]
	setXY
		10*first TextMousePos
		-20*first bf TextMousePos
	updateGraph]



References:

OnTextMouseMiddleDClick OnMouseLeftDown