Mouse Position Node

Mouse Position node.

The Mouse Position node returns information about the mouse cursor such as its position and the region’s dimensions.

Tips

When using this node, enable Wait for Click. to wait for a mouse click input (LMB) before running the operator from a menu.

Merknad

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.