absoluteToLocal method
Implementation
Vector2 absoluteToLocal(Vector2 point) {
Renderer? ancestor = parent;
while (ancestor != null) {
if (ancestor is Actor) {
return toLocal(ancestor.absoluteToLocal(point));
}
ancestor = ancestor.parent;
}
return toLocal(point);
}