It sounds like you’re either looking for the ForEach node or the Contains function on Arrays.
Either way you’d create an array of static meshes, initialized with all the meshes you’re interested in (SM_Tree_01_Var1, etc). Once you have that you can either:
- Call ‘Contains’ to see if the Target->StaticMesh is one of the elements of the array.
- Manually do a ForEach over the array and see if it matches Target->StaticMesh.
Also, to Ares9323’s point: You wouldn’t add a tag to the static mesh. You’d add it to the actor that has the static mesh component. Then, instead of checking HitComponent->Target->StaticMesh you’d be checking HitActor->Tags (or HitComponent->Owner->Tags).
Option 1 is easier, option 2 allows for more flexible checking (like if certain trees can only be cutdown if you have a certain axe equipped).