Hello, for a project I need to create a new instance of an object on a particular place.
For example: A ant (actor) is crawling over the surface and wherever it goes, it leaves traces (also actor).
So the "trace" actors have to be created where the ant is.
I've already tried this, but it didn't work:
Actor Ant = new Actor();
addObject(Ant, 100, 50);
Error message: "cannot find symbol - method addObject(greenfoot.actor,int,int)".
Can anyone tell me my mistake or another method to solve this problem?

