Calling BP Graph Functions
How to call a function declared in the Blueprint Editor

For Blueprint functions created in the Blueprint Editor we can use call_method() to access them via Python:
asset_instance.call_method("function")For functions with inputs we can use either the args or kwargs parameters:
It also works with Blueprint functions that have returns:
call_method also works with custom events:

Note: An asset loaded using unreal.load_asset() does not have direct access to call methods defined in the Blueprint Graph, we will need to get either its default object or an active instance of the BP:
Last updated