Navigation
API > API/Runtime > API/Runtime/GameplayTasks > API/Runtime/GameplayTasks/UGameplayTask
Description
Proper way to get the owning actor of task owner. This can be the owner itself since the owner is given as a interface
| Name | GetOwnerActor |
| Type | function |
| Header File | /Engine/Source/Runtime/GameplayTasks/Classes/GameplayTask.h |
| Include Path | #include "GameplayTask.h" |
| Source | /Engine/Source/Runtime/GameplayTasks/Private/GameplayTask.cpp |
AActor * GetOwnerActor() const