SetYLoc

(Engine-Level Function)

Description: Sets the Y screen location of the locator (mouse).
Returns: Nothing
Usage: Script or steady state.
Function Groups: Graphics,  Locator
Related to: SetXLoc | XLoc | YLoc
Format: SetYLoc(Y)
Parameters:  
Y
Required. Any numeric expression giving the new Y coordinate of the locator (mouse) on the screen.
Comments: This statement has no effect if the locator is not installed.

Example:

If YLoc() > 300;
[
  SetYLoc(300);
]

This action keeps the cursor in the top 300 pixels of the screen.