Mouse & Keyboard

Edit

KeyBoard Simulate Press #

Simulates a keyboard button press. Might not work in games that have anti-cheat protection.

Box Name Type Description
Button Dropdown Button to press
Ctrl/Alt/Shift Checkbox Whether you want to add any modifiers, i.e. press Ctrl + K
Hold Duration Number For how long to hold the button


Edit

Check Keyboard Button Status #

Checks if a specific button is currently pressed.

Box Name Type Description
Variable String Variable to save the result into. 0 = not pressed, 1 = pressed


Edit

Wait For Keyboard Button Status #

Pauses a button execution and waits until a specific button is pressed/unpressed to continue with the rest of the commands.

Box Name Type Description
Button Dropdown Which button to wait for
Press Checkbox Checked = wait until the button is pressed, Unchecked = wait until the button is not pressed
Timeout Number How long to wait until resuming normal command flow


Edit

Mouse Simulate Click #

Simulates a mouse click. Might not work in games that have anti-cheat protection.

Box Name Type Description
Mouse Button Dropdown Which mouse button to click
Duration Number Duration of the click


Edit

Mouse Change Position #

Changes the position of your mouse according to your screen.
You can retrieve your current mouse coordinates by using permanent global variables:

  • global.mouse_x for mouse X position
  • global.mouse_y for mouse Y position
Box Name Type Description
Screen X position New X position for your mouse  
Screen Y position New Y position for your mouse