Hi, beginner here.
Im looking for to run 2 separate codes at the same time.
Example. While my mouse is moving across the bankscreen interface, the "bankScreen.clickButton(BANK_BUTTON_PRESET_1); " is also being send.
So action "MOUSE_MOVE" and "bankScreen.clickButton(BANK_BUTTON_PRESET_1); " is done at the same time.
here is my code
Simba Code:
begin
if bankScreen.isOpen(5000) then
begin
wait(randomRange(99, 199));
while bankScreen.isOpen do
begin
smallRandomMouse(60); //<-- as the mouse is being moved, the bank_button_preset_1 is being send.
bankScreen.clickButton(BANK_BUTTON_PRESET_1); //<-- This should be send while the mouse is moving.
end;
end;
end;