Ive been using this to have an actor follow the mouse, it worked the first couple times it ran, then suddenly it stopped working and i kept getting this message
java.lang.NullPointerException
at Selector.placement(Selector.java:23)
at Selector.act(Selector.java:17)
at greenfoot.core.Simulation.actActor(Simulation.java:568)
at greenfoot.core.Simulation.runOneLoop(Simulation.java:526)
at greenfoot.core.Simulation.runContent(Simulation.java:215)
at greenfoot.core.Simulation.run(Simulation.java:205)

