NPC chicken = getNpcs().closest("Chicken");
if (chicken != null && myPlayer().getAnimation() != 1162) {
int x = chicken.getPosition().getX() + random(-2, 2);
int y = chicken.getPosition().getY() + random(-2, 2);
log("WOOF");
getMouse().move(x, y);
Can't seem to figure it out why the mouse isn't moving at all. Can someone please help me out?