Hi, i have sprite under cursor...
in act:
if(Greenfoot.mouseMoved(null)) {
MouseInfo mouse = Greenfoot.getMouseInfo();
setLocation(mouse.getX(), mouse.getY());
}
but if i hold mouse button.. mouse cursor move and sprite hold position, when i release mouse button my sprite jump to mouse cursor position...
exist some solution?
thanks