Mouse Out CHOP

From TouchDesigner 099 Wiki

Summary

The Mouse Out CHOP forces the mouse position and button status to be driven from TouchDesigner using the incoming CHOP channels. The tx and ty channels works in normalized coordinates, ranging from 0 to 1 for the left-to-right and bottom-to-top of the full desktop. If the Desktop is spread over two monitors, tx == 1 is the right of the second monitor.

WARNING: If the incoming channels are changing every frame, it may be difficult to regain control of the mouse without using the keyboard or some other means to kill or suspend the process. However the Mouse Out CHOP does not control the mouse while the incoming channels are constant.

PythonIcon.png mouseoutCHOP_Class

Parameters - Control Page

Position X - Channel name to look for that will drive the mouse X position.

Position Y - Channel name to look for that will drive the mouse Y position.

Left Button - Channel name to look for that will drive the mouse's left button state.

Middle Button - Channel name to look for that will drive the mouse's middle button state.

Right Button - Channel name to look for that will drive the mouse's right button state.

Cook Every Frame - Forces CHOP to cook every frame.

Standard Options and Local Variables

None.