Skip to content

Mouse Is Over

  • Condition
  • Keyboard & mouse
  • Advanced mode

True while the pointer is over a place or an area. Places: the taskbar, the desktop, a monitor, a corner or edge of its monitor, the window in front, a window of an app; or an area you choose (Pick area draws it). A window covering the spot counts, as it does for a click. In a trigger's Only when, Block it then blocks only there.

In the editor, press Space on the canvas to add a step, then open Conditions > Keyboard & mouse, or type its name. In Simple mode it's under Show all, and search finds it.

Settings

Check

A choice
  • A place on the screen: The taskbar, the desktop, a monitor, a corner or edge, a window.
  • A custom area: X, Y, width and height in physical pixels on the whole desktop. Pick area draws it.

Starts as: A place on the screen Can come from another step's output

Place

A choice
  • The taskbar: Any taskbar, on any monitor, also one that hides itself while it shows. Not while a full-screen app covers it.
  • The desktop: The wallpaper or a desktop icon, with no window over that spot.
  • The window in front: The window you're using, not one behind it.
  • A window of an app: Any window of the app in App, in front or behind.
  • The main monitor: Windows' main display (Settings > System > Display).
  • This monitor: One screen chosen from the list, recognized by its model and serial number wherever it's plugged in.
  • A monitor by number: 1, 2, 3... as Windows numbers them (Monitor Info's numbers). Can change when monitors are plugged in or out.
  • The top-left corner: Of the monitor the pointer is on, e.g. for a hot corner.
  • The top-right corner: Of the monitor the pointer is on.
  • The bottom-left corner: Of the monitor the pointer is on.
  • The bottom-right corner: Of the monitor the pointer is on.
  • The top edge: Of the monitor the pointer is on, corners included.
  • The bottom edge: Of the monitor the pointer is on, corners included.
  • The left edge: Of the monitor the pointer is on, corners included.
  • The right edge: Of the monitor the pointer is on, corners included.

Starts as: The taskbar Can come from another step's output

App

A program (process name)

The app's executable, e.g. chrome.exe (the .exe is optional).

Starts as: empty Takes ${variables} and expressions Can come from another step's output

Monitor

Text

Choose it from the monitors connected now.

Starts as: empty Can come from another step's output

Monitor number

A screen position

1 for the first monitor, 2 for the second...

Starts as: 1 Can come from another step's output

Distance from the edge (pixels)

Pixels

How close to the corner or edge the pointer must be, e.g. 5 for the last 5 pixels.

Starts as: 5 Can come from another step's output

X

Pixels

Left edge of the area: physical pixels on the whole desktop.

Starts as: 0 Can come from another step's output

Y

Pixels

Top edge of the area.

Starts as: 0 Can come from another step's output

Width

Pixels

Starts as: 200 Can come from another step's output

Height

Pixels

Starts as: 200 Can come from another step's output

Outputs

Values the step gives to the steps after it. In the Graph view, drag a wire from an output to another step's field.

Mouse Is Over outputs
OutputGivesWhat it is
Is over itYes or no
XPixelsWhere the pointer is, in physical pixels across all monitors.
YPixels

Good to know

  • It's also on a trigger's Only when list, as "Mouse pointer is over" (see Conditions and Only when).

More in Keyboard & mouse