鼠标位置#

鼠标位置节点。

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.

输入#

该节点没有输入项。

属性#

该节点没有属性。

输出#

鼠标 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.