AActor::GetInstigator

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.

References

Module

Engine

Header

Runtime/Engine/Classes/GameFramework/Actor.h