Im trying to make a little clicker game for a project, but i have an issue where i cant figuire out how to place a random sprites in the same position after one has been "Defeated".
(Also, i have an issue where i have made a button that whenever its clicked, it should change the scene, however it seems to happen whenever i select run, and not when i click the button. )
if (Greenfoot.mousePressed(this));
Greenfoot.setWorld(new BattleScreen())
The code for the button
