base property
GDisplayObject
base
Returns the base object, i.e. the topmost parent in the display hierarchy.
Implementation
GDisplayObject get base {
var current = this;
while (current.$parent != null) {
current = current.$parent!;
}
return current;
}