Get mouse position Action(Power Automate Desktop)

Japanese version.

This action acquires the current mouse position (X position and Y position).

The position to be acquired can be the entire screen or the active window.

How to use

Drag "Get mouse position" from "Mouse and Keyboard" under "Actions".

Set parameters.


Relative to

Specifies which point is the starting point (0 for both X and Y).

  • Screen. Left edge of the entire screen.
  • Foreground window. The left edge of the active window is the starting point.

Variables produced

MousePosX, MousePosY

The X and Y positions of the mouse are stored.

For those who want to learn Power Automate Desktop effectively

The information on this site is now available in an easy-to-read e-book format.

Or Kindle Unlimited (unlimited reading).

You willl discover how to about basic operations.

By the end of this book, you will be equipped with the knowledge you need to use Power Automate Desktop to streamline your workflow.

Table of Contents.

Update History.


Mouse and Keyboard Actions