Where did you get the 'canMove' method? what is its code?
The Actor class provided by greenfoot does not contain a 'canMove' method. Without seeing it code, it is impossible to say what it does or what it will do in any situation. The only other thing we could do is maybe suggest that you just test it out yourself to see what it does.