I want a character to wait several seconds for some animations, something like this:
setImage("Vegeta_42.png");
Greenfoot. delay(1);
setImage("Vegeta_43.png");
Greenfoot. delay(1);
setImage("Vegeta_44.png");
Greenfoot. delay(1);
but with the delay it waits for the whole program and I want it to only wait for that object.
some help

