AActor::GetInstigator

Get the instigator, cast as a specific class.

Windows
MacOS
Linux

References

Module

Engine

Header

/Engine/Source/Runtime/Engine/Classes/GameFramework/Actor.h

Include

#include "GameFramework/Actor.h"

Syntax

template<class T>
T * GetInstigator() const

Remarks

Get the instigator, cast as a specific class.

Returns

The instigator for this actor if it is the specified type, nullptr otherwise.

Help shape the future of Unreal Engine documentation! Tell us how we're doing so we can serve you better.
Take our survey
Dismiss