Navigation
API > API/Runtime > API/Runtime/Engine > API/Runtime/Engine/GameFramework > API/Runtime/Engine/GameFramework/AActor > API/Runtime/Engine/GameFramework/AActor/GetInstigatorController
References
| Module | Engine |
| Header | /Engine/Source/Runtime/Engine/Classes/GameFramework/Actor.h |
| Include | #include "GameFramework/Actor.h" |
template<class T>
T * GetInstigatorController() const
Remarks
Returns the instigator's controller, cast as a specific class. The instigator's controller for this actor if it is the specified type, nullptr otherwise.