Get Piloted Viewport Actor
Use the global pointer GCurrentLevelEditingViewportClient, and internally it’s call the Locked Actor.
You can also get whether it’s locked to cinematics:
Examples:
USH_WaterfallTool2Statics::SelectActorInViewport
Last updated