For the complete documentation index, see llms.txt. This page is also available as Markdown.

Get Piloted Viewport Actor

Use the global pointer GCurrentLevelEditingViewportClient, and internally it’s call the Locked Actor.

GCurrentLevelEditingViewportClient->IsAnyActorLocked();
GCurrentLevelEditingViewportClient->GetActiveActorLock();

You can also get whether it’s locked to cinematics:

GCurrentLevelEditingViewportClient->IsLockedToCinematic();

Examples:

  • USH_WaterfallTool2Statics::SelectActorInViewport

Last updated