How can I make a Struct so that it is Blueprint editable?

Hey! I am trying to make an array. The problem is that when I go onto blueprint, I cant define the Array (add new Items and customize them, etc.). Anyone know how I can set this up?

struct FInventoryItem
{
	GENERATED_USTRUCT_BODY()

	bool isUnlocked;
	int32 wpKey;
	TSubclassOf<class AWeapon*> WeaponClass;

};

UCLASS(config=Game)
class AFPSCharacter : public ACharacter
{
	GENERATED_UCLASS_BODY()

	UPROPERTY(EditDefaultsOnly, BlueprintReadWrite, Category = Inventory)
		TArray<FInventoryItem> Items;
}

Don’t forget to mark the variables in the struct as UPROPERTY and give them the appropiate settings. Example:

UPROPERTY(EditAnywhere, BlueprintReadWrite, Category = “Inventory”)
bool isUnlocked;

Otherwise, they won’t show up in blueprints. Also, this will automatically generate Make and Break nodes for your Struct

10243-struct.jpg

Also, you should probably rename this question to “How to make a Struct blueprint editable” or something. Hard for someone to come across this while searching structs.