C++ - UFunction - Add Click to Expand and Collapse Pins

Hi there,

I was looking around how to add to a custom node a way to expand end collapse the pins but I cannot find anything around.

Screenshot 2023-01-21 123504
For example like the Print Text node does.

Is this something that goes inside UFUNCTION?

In the ufunction declare AdvancedDisplay=N

from source you can see AdvancedDisplay = “2” so it shows 2 lines by default, expand the rest.

UFUNCTION(BlueprintCallable, meta=(WorldContext="WorldContextObject", CallableWithoutWorldContext, Keywords = "log", AdvancedDisplay = "2", DevelopmentOnly), Category="Development")
1 Like