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.

屬性

這個節點沒有屬性。

輸出

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.