- Thread Author
- #1
I got the answer from arbiter on how you can replace the standard white dot with a white trail mouse that RuneMate comes with in your script.
It's really simple so I'm just going to post the code for it:
Add this anywhere in the script.
Add this to the onStart() method
If you have managed to do it correctly then it should work.
It's really simple so I'm just going to post the code for it:
Add this anywhere in the script.
Code:
private Mouse.PathRenderer pathRenderer = new Mouse.PathRenderer() {
@Override
public void render(Graphics2D graphics2D) {
//Paint your mouse here.
}
};
Add this to the onStart() method
Code:
Mouse.setPathRenderer(pathRenderer);
If you have managed to do it correctly then it should work.