Morph Ownership and the 'Scene Graph'
Each morph (except for the world itself) is owned by exactly one other morph. You can see the owner of a morph by asking for its owner property, like this: $morph('SmallEllipse').owner which gives us a string. If the owner is null,then the owner is the world itself. The string doesn't tell us much., but fortunately we can get the owner to be shown. Try executing:
(
)
!


showOwner
We can also find the grandparent:
(
)
!


showGrandparent
+
SmallEllipse
(
)
!


showOwner
(
)
!


showGrandparent
lively.morphic.Morph
(
)
!

show
(
pt(10.0,3.0)
)
!

moveBy
(
0.2
)
!

rotateBy
(
)
!

copy
(
morph
)
!

addMorph
(
)
!

openInWorld
(
)
!

remove
state
behavior
0
Graphics
JavaScript
Morphic