How to clear an array in UE4 C++?

I want to do something like
image_2022-08-05_043811422

FCustomThunkTemplates::Array_Clear(ItemsTypeArr); How to do it in C++?

Please correct me if the answer is

ItemsTypeArr.Empty();

I will accept my answer, if this is correct.

That is the correct way.

2 Likes

Alexa, many of your questions are explained in documentation:

2 Likes

I was looking for something similiar to Clear(); in syntax and later remembered that C++ has itself a function called Empty();
I was confused by blueprint library :smiley: