0

Let's say I have a new Morph:

m := Morph new.
m openInWorld.

How do I close / delete the Morph off?

m removeFromWorld.
avivgood2
  • 227
  • 3
  • 19

1 Answers1

1

To remove a morph from the world, use the delete method.

m := Morph new.
m openInWorld.
...
m delete.

delete removes the morph from its parent morph (which is the world after openInWorld).

JayK
  • 3,006
  • 1
  • 20
  • 26