Navigation
API > API/Editor > API/Editor/UnrealEd > API/Editor/UnrealEd/FLevelEditorViewportClient
Description
Access the 'active' actor lock.
This returns the actor lock (as per GetActorLock) if that is the currently active lock. It is not the currently active lock if there's a valid cinematic lock actor (as per GetCinematicActorLock), since cinematics take precedence.
| Name | GetActiveActorLock |
| Type | function |
| Header File | /Engine/Source/Editor/UnrealEd/Public/LevelEditorViewport.h |
| Include Path | #include "LevelEditorViewport.h" |
TWeakObjectPtr < AActor > GetActiveActorLock() const
The actor currently locked to the viewport and actively linked to the camera movements.