well you'd move() in the act() function, so just make some global variable that'd store whether you should be moving or not, update it wherever appropriate, and check to see if it's true or false (1 or 0) before your move() command.
basically, in act() function:
if (shouldMove) {
move(4);
}
and somewhere at the top where your class opens, define your variable:
private shouldMove;
either set it to something right there, or initialize it in the class constructor (which you would have to create);
public MyClassName() {
shouldMove = 0;
}
at whatever point it should be stopping, just do this:
shouldMove = 1;
i'm going to bed or i'd be more specific... good luck!