UGameplayAbility::GetSourceObject_BP

Retrieves the SourceObject associated with this ability. Callable on non instanced

Choose your operating system:

Windows

macOS

Linux

References

Module

GameplayAbilities

Header

/Engine/Plugins/Runtime/GameplayAbilities/Source/GameplayAbilities/Public/Abilities/GameplayAbility.h

Include

#include "Abilities/GameplayAbility.h"

Source

/Engine/Plugins/Runtime/GameplayAbilities/Source/GameplayAbilities/Private/Abilities/GameplayAbility.cpp

Syntax

UFUNCTION(BlueprintCallable, Category=Ability,
          Meta=(DisplayName="GetSourceObjectNonInstanced", ReturnDisplayName="SourceObject"))
UObject * GetSourceObject_BP
(
    FGameplayAbilitySpecHandle Handle,
    const FGameplayAbilityActorInfo & ActorInfo
) const

Remarks

Retrieves the SourceObject associated with this ability. Callable on non instanced