unreal.CancellableAsyncAction

class unreal.CancellableAsyncAction(outer: Optional[Object] = None, name: Union[Name, str] = 'None')

Bases: BlueprintAsyncActionBase

base class for asynchronous actions that can be spawned from UK2Node_AsyncAction or C++ code. These actions register themselves with the game instance and need to be explicitly canceled or ended normally to go away. The ExposedAsyncProxy metadata specifies the blueprint node will return this object for later canceling.

C++ Source:

  • Module: Engine

  • File: CancellableAsyncAction.h

cancel() None

Cancel an asynchronous action, this attempts to cancel any lower level processes and also prevents delegates from being fired

is_active() bool

Returns true if this action is still active and has not completed or been cancelled

Return type:

bool