How to use multiple tags on "actor has tag"?

im doing single line trace by channel. there is array for tags im using, so i want like if actor has one of these tags it will go true or false, this doesnt work what im doing wrong?

You need to iterate through the Array of tags, take a look at the [docs][1] to learn how to work with Arrays. And maybe you want to watch this [Tutorial][2].

The solution to your problem looks líke this:

The loop checks if the HitActor has ANY of the tags in the “Tag” Array.

amazing this is working just like i wanted. i had to change “actor has tag” to “component has tag”, for some reason actor didnt work, specific itembp has everything tagged thats weird. component is fine for me though.

yeah loops and arrays are not my strength :smiley: im gonna check those tutorials out.
thanks alot!

No problem, you sould be aware that the “Tags” array you use comes from the Actor itself, it may be wise to create your own.

Oh yeah true that array is the default one, gonna change it tomorrow when i get back to project. Thanks again.