how do i put a list of items into my tarray?

You can read some useful things about TArray here:

If you want to populate an Array in one line, you can do this:


	TArray<uint8> ArrayName;
	uint8 SimpleArray] = {8, -8, 1, -1, 7, -7, 9, -9};
	ArrayName.Append(SimpleArray, ARRAY_COUNT(SimpleArray));

I hope this help you :slight_smile:

1 Like