links to this page:    
View this PageEdit this PageUploads to this PageHistory of this PageTop of the SwikiRecent ChangesSearch the SwikiHelp Guide
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.


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.


Further reading

Absolute and relative positioning is well explained in HPI SWA Teaching -- Interactive Morphic Tutorial