public virtual void AddActorBefore(Actor actorBefore, Actor actor) { actor.Remove(); int index = Children.IndexOf(actorBefore); Children.Insert(index, actor); actor.Parent = this; actor.Stage = Stage; ChildrenChanged(); }