TRoot.MainWorld

Property MainWorld: TWorld
The currently active world is saved here.

Example: if World = Root.MainWorld then Writeln('Not main');