The Mouse input node provides the Mouse X and Y position as well as the three button press states Left, Middle and Right, additionally a relative value for the mouse wheel.
This node can be found under Nodes > Input > Devices > Mouse
With Widget Designer version 6, all nodes support so called node commands. Node commands access functions (i.e methods) from a node and / or set a parameter (i.e. property).
Enter "Node", followed by the according ID and a dot and a list will pop up showing all available commands for the node. For instance, Node1.TintColor.SetRGB(125,0,255) colors the node in purple.
The node generates the following output:
- X Pos
- Y Pos
- Wheel ("-1" for down, "1" for up)
- Left Click
- Middle Click
- Right Click