unreal.InteractionAbilityInterface

class unreal.InteractionAbilityInterface(outer: Object | None = None, name: Name | str = 'None')

Bases: Interface

Interaction Ability Interface

C++ Source:

  • Plugin: InteractionInterface

  • Module: InteractableInterface

  • File: InteractionTask_WaitForTargets.h

on_available_interactions_updated() None

Called when this ability’s available interaction targets have been updated.

This is a good place to update some UI or display some message to the user that they can now interact with the current targets.

on_trigger_interaction() None

Triggers the interaction with one or more of the currently available targets. Override this in blueprints or native C++ to decide which of the currently available targets you would like to interact with and how.