Input

Left Click

void Input.LeftClick(int Action)

Defaults to MOUSE_CLICK if no Action is provided

Performs a left click of the mouse when called. Use MOUSE_DOWN or MOUSE_UP as Action to do something other than a click.

Right Click

void Input.RightClick(int Action)

Defaults to MOUSE_CLICK if no Action is provided

Performs a right click of the mouse when called. Use MOUSE_DOWN or MOUSE_UP as Action to do something other than a click.

Move Mouse

void Input.MoveMouse(int x, int y)

Moves the mouse from its current position by the given amounts.

Scroll Mouse

void Input.ScrollMouse(int ScrollAmount)

The amount is negative for up, positive for down.

Scrolls the mouse by the given amount.

Key Codes

Key codes can be found here

Key Press

void Input.KeyPress(int VirtualKeyCode)

Performs a key press of the given key when called.

Key Down

void Input.KeyDown(int VirtualKeyCode)

"Holds" a key down when called.

Key Up

void Input.KeyUp(int VirtualKeyCode)

Releases a key when called.