How to add one item to array?

how to add one item to array in C++ ?
bp example:
image_2022-08-13_063118963

Arr.Add(MyItems.ItemOne);

the problem is the array takes all the items from MyItems instead of ItemOne

What types are the array, MyItems and ItemOne?

MyItems is the array of struct and it has one variable ItemOne of type FName which stores the name of the item

concept in blueprints but it takes 2 variables type and id, mine is the same and mine takes one variable only ID of type FName

Can you post the full snippet of your code?

1 Like

Sir this Issue is solve in this SOLUTION

1 Like