Cicode Programming Reference > Cicode Function Categories > Keyboard Functions Introduction > KeyMove

KeyMove

Moves the command cursor in a specified direction to the closest AN. If an AN cursor override is specified, the command cursor moves to that AN directly. This function is equivalent to the KeyUp(), KeyDown(), KeyLeft(), and KeyRight() functions.

Syntax

KeyMove(Direction)

Direction:

Direction to move the cursor:

0 - Do not move

1 - Left

2 - Right

3 - Up

4 - Down

Return Value

0 (zero) if successful, otherwise an error is returned.

Related Functions

KeyUp, KeyDown, KeyLeft, KeyRight

Example

KeyMove(1);
! Moves the cursor left.

See Also

Keyboard Functions