This site requires JavaScript, please enable it in your browser!
Greenfoot back
mohamed.talaat99
mohamed.talaat99 wrote ...

2014/1/20

how can i remove all actors in the world ?

mohamed.talaat99 mohamed.talaat99

2014/1/20

#
Hello, i have a game contain many snakes and one person and house when person touch house i need to remove all actors in the world how can i remove all actors ? thanks
bourne bourne

2014/1/20

#
world.removeObjects(world.getObjects(null));
You need to login to post a reply.