Cursor Building Block

The Cursor building block is used to adjust the location of the cursor on the screen.

A Cursor building block has one ON/OFF input and one ON/OFF output. When the input value turns ON, the Cursor building block will adjust the location of the cursor according to its settings, then turn its output ON. It can be configured to return the cursor to its original location when the input value turns OFF.

A Cursor building block may be configured to move the cursor relative to its current position, to a specific location on the screen, or to a location relative to a corner of the current window. To move the cursor relative to its current position, set the popup menu in the Inspector window to Relative Position. Then enter the distance and direction that the cursor should move each time the building block turns ON.

In the example to the right, the cursor will move 5 pixels to the right and 10 pixels down each time the input value of the Cursor building block turns ON.


To move the cursor to a specific location on the screen, set the popup menu in the Inspector window to Screen Position. Then enter the horizontal and vertical location where the cursor should move to. If the screen will have a different resolution than normal when the building block is used, then enter the screen dimensions into the Inspector window. Normally, the Top and Left coordinate values with both be 0, and the Bottom and Right values will be the screen height and width respectively.

In the example to the right, the cursor will move to the location 400 pixels from the left edge and 300 pixels from the top edge of the screen (based on a screen resolution of 800x600) when the input value of the Cursor building block turns ON.


To move the cursor to a location relative to a corner of the current window, set the popup menu in the Inspector window to Window Position. Then select a window corner and the horizontal and vertical distance from that corner that the cursor should be placed. Each time the input value of the building block turns ON, ControllerMate will ask the current application for the location and size of its window. It will then move the cursor to a position based on the values that it receives.

In the example to the right, the cursor will move to a location 20 pixels to the left and 40 pixels up from the bottom-right corner of the foreground application's current window.


When configuring a Cursor building block to move the cursor to a location on the screen, or a location within the current window, the Screenshot Viewer can be used to help find the correct location.

Cursor building blocks require the internal mouse to be enabled in ControllerMate's preferences. If the internal mouse is disabled, INACTIVE will be drawn over the building block.