a Morph has a position
Last updated at 3:57 pm UTC on 12 March 2019
Each Morph object has a position. To get the position of that object do
self position
within a method definition or generally just
aMorph position.
Example
To create a new morph with a certain postion.
Morph new position: 100@100; openInWorld; inspect.
In the Inspector
self position
gives in this case.
100@100
Further reading
Absolute and relative positioning is well explained in HPI SWA Teaching -- Interactive Morphic Tutorial