Last updated at 3:19 am UTC on 18 July 2018
There is a method #isWorldMorph implemented for Morph objects as
and for PasteUpMorph objects as
^ worldState notNil
This means if a PasteUpMorph object has a WorldState object attached it is the topmost morph which is the desktop in most cases.