the code I have for mouse movement is as follows
now the issue is this is really jittery I would like it to be smooth, and depending on the orientation of the actor(there maybe more then one and in different orientations)
if(Greenfoot.mousePressed(this)) { setLocation(Greenfoot.getMouseInfo().getX(), getY()); }