> For the complete documentation index, see [llms.txt](https://docs.oserosuite.com/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://docs.oserosuite.com/technical-notes/unreal-engine-notes/viewport/update-pivot-location.md).

# Update Pivot Location

This is done in:

```cpp
GUnrealEd->UpdatePivotLocationForSelection(true);
UUnrealEdEngine::UpdatePivotLocationForSelection
```

But selection for spline points is different because they’re not UObjects, they have `HSplineKeyProxy` structs and this is updated in the `FSplineComponentVisualizer::DrawVisualization`. Selecting in the viewport calls `FSplineComponentVisualizer::VisProxyHandleClick`.
