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

2013/10/16

Lock position of actor/image.

Dutchy Dutchy

2013/10/16

#
How do I lock the position of an actor or image? In this case, the image is the actor and I will have to place multiple of these in the world right next to each other. It's a Greenfoot exercise (5.2) but this isn't part of it, I believe. Or perhaps this get solved by itself eventually?
gdwd3 gdwd3

2013/10/16

#
what do you mean by 'lock the position of an actor'? Do you mean, save the world so that when you reset the images are still in the same place? If so you right-click the world and select 'save the world'
danpost danpost

2013/10/16

#
As long as you do not use 'move' or 'setLocation' on the actor objects, they will stay in place.
You need to login to post a reply.