Jump to content
Frequently Asked Questions
  • Are you not able to open the client? Try following our getting started guide
  • Still not working? Try downloading and running JarFix
  • Help! My bot doesn't do anything! Enable fresh start in client settings and restart the client
  • How to purchase with PayPal/OSRS/Crypto gold? You can purchase vouchers from other users
  • Try asking for help in the chatbox
  • Is Mouse.move(-1, -1) safe?


    Bryno
     Share

    Recommended Posts

    Hi there!

    I am attempting to make the mouse go "off the screen" effect.

    Is moving the mouse coordinates to -1, -,1 safe?

    Or do I also need to randomize the negative values?

    Let me know if anyone knows. Thanks! :) 

    Link to comment
    Share on other sites

    -1, -1 will always be the top left corner, depends if you want that

    Dreambot also already has a API method to do this that also unfocuses the client

    Edited by SubCZ
    Link to comment
    Share on other sites

    56 minutes ago, braveheart said:
    if(Mouse.isMouseInScreen()){
        Mouse.moveMouseOutsideScreen();
    }

     

    Beautiful!

    I think this method will work perfect with what I want.

    Which is to Move mouse outside the screen, then AFK for a while!

    Link to comment
    Share on other sites

    Create an account or sign in to comment

    You need to be a member in order to leave a comment

    Create an account

    Sign up for a new account in our community. It's easy!

    Register a new account

    Sign in

    Already have an account? Sign in here.

    Sign In Now
     Share

    ×
    ×
    • Create New...

    Important Information

    We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.