Navigation
API > API/Plugins > API/Plugins/InteractableInterface > API/Plugins/InteractableInterface/UInteractableInterfaceLibrary
Description
Called when this target is interacted with. Implement any state changes or gameplay affects you want this interaction to have here
| Name | BeginInteractionOnTarget |
| Type | function |
| Header File | /Engine/Plugins/Experimental/InteractionInterface/Source/InteractableInterface/Public/InteractableInterfaceLibrary.h |
| Include Path | #include "InteractableInterfaceLibrary.h" |
| Source | /Engine/Plugins/Experimental/InteractionInterface/Source/InteractableInterface/Private/InteractableInterfaceLibrary.cpp |
UFUNCTION (BlueprintCallable, Category="Interactions", Meta=(AutoCreateRefTerm="Context"))
static void BeginInteractionOnTarget
(
TScriptInterface < IInteractionTarget > Target,
const FInteractionContext & Context
)
Parameters
| Name | Remarks |
|---|---|
| Target | The interaction target to begin interacting with |
| Context | The context of this interaction. |