My issue is the mouseclicked method. Or to be more specific the location picker button here is an implement of it:
So if i click the button, wich looks except by the following well, Greenfoot stops like when you make use of the Greenfoot.stop() method wich i havent used yet in my project.
If you know something about it it would be very helpful to hear that.
static Actor attachedActor;
public void act() {
if(Greenfoot.mouseClicked(this)) {
attachedActor.setLocation(getX(), getY());
}
}