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.

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.

輸入

This node has no inputs.

輸出

滑鼠 X

The region-space mouse X location, in pixels, increasing from 0 at the left.

滑鼠 Y

The region-space mouse Y location, in pixels, increasing from 0 at the bottom.

區塊寬度

The total X size of the region in pixels.

區塊高度

The total Y size of the region in pixels.