So I have added an image but I only want it to appear once run is clicked so is there any way for that?
Add the following method to that world class:
public void started()
{
if (geObjects(Adding.class).isEmpty()) addObject(new Adding(), 200, 200);
}
The started method is called for that world by greenfoot when it is the active world and the scenario goes from a paused state to a running state. I added the 'if' condition to prevent it from adding another if the scenario is paused and restarted. Of course, the name of the class of the object you want to add needs to be adjusted and the location where it will be placed will most probably need adjusted also.