Varargs or optional variable parameters in UFUNCTION()

Hello,

is there any way to have a variable number of optional arguments passed into a BlueprintCallable function, similar to varargs in C? I could just go with a TArray if nothing like that exists, but since most of the time I need exactly one parameter, creating an Array in blueprint is a bit tedious. I searched around but couldn’t find anything, but I somehow remember I saw it once in a tutorial.

Thanks in advance

1 Like

I am wondering the same thing.

No, there’s no such thing as var args for blueprint callable functions.