added variable startposition from world in mazeaction