How to display collision profile dropdown?

Hi, does anyone know how can I make UPROPERTY display a list of collision profile names? Is this only achievable in slate editor script?
I know I can use FName but I want to make it dummy-proof :slight_smile: .

Via the editor panel you mean or via widget ?

You can use enum to display list like this: (dont forget to define your enum)

	UPROPERTY(BlueprintReadWrite, EditAnywhere, Category="Default")
	TEnumAsByte<EMyCollisionType> MyCollisionType;

Sorry maybe I did not describe everything detailed enough.
I want a UPROPERTY(EditAnywhere) editable field used for Collision Profile Names. For example like what you see on any UPrimitiveComponent. In code setting collision profile is done using FName, but in the editor you can choose from a dropdown. I do believe that this is done manually in Slate, but if someone knows how or where it’s done I would appreciate it.

You can have this UPROPERTY on any UObject so that you can edit it in the details panel