ue5_call_function
Call any UFUNCTION on a UObject in Unreal Engine 5 via the Web Remote Control API. Use actor-level functions like SetActorScale3D for reliable remote execution.
Instructions
Calls a UFUNCTION on a UObject via the Web Remote Control API. IMPORTANT: Some functions on component sub-objects (e.g., LightComponent, RootComponent) are marked 'unavailable remotely'. Use actor-level functions like SetActorScale3D, SetActorTransform instead.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| objectPath | Yes | The path to the UObject (e.g., '/Game/Maps/MyMap.MyMap:PersistentLevel.MyActor_1', or '/Script/UnrealEd.Default__EditorActorSubsystem' for editor subsystems). | |
| functionName | Yes | The name of the function to call. | |
| parameters | No | JSON object containing the function parameters. | |
| generateTransaction | No | If true, the operation can be undone with Ctrl+Z in the editor. Default: true for write operations. |