Undo/redo for game object reparenting command