How To define a function with multiple return values as blueprint in C++

Thank you, cmartel! I tried a little using the following code and it worked!!!

UFUNCTION(BlueprintCallable, Category = "MyBlueprintFunctionLibrary")
	static void switchValue(const float a,const float b, float &a_out, float &b_out);

void UMyBlueprintFunctionLibrary::switchValue(const float a, const float b, float &a_out, float &b_out)
{
	a_out = b;
	b_out = a;
}

Capture.PNG

Thank you so much!!!

26 Likes