Mouse Position Node
The Mouse Position node returns information about the mouse cursor such as its position and the region’s dimensions.
Tip
When using this node, enable Wait for Click. to wait for a mouse click input (LMB) before running the operator from a menu.
Note
This node can only be used in the Tool context.
Inputs
This node has no inputs.
Properties
This node has no properties.
Outputs
Mouse X
The region-space mouse X location, in pixels, increasing from 0 at the left.
Mouse Y
The region-space mouse Y location, in pixels, increasing from 0 at the bottom.
Region Width
The total X size of the region in pixels.
Region Height
The total Y size of the region in pixels.