If looking at an object and object name is X then do Y

from the break of your hit get the hit actor node and get branch then Boolean of == tag , make sure you put tag on every actor of x and y and so on from the detail panel of your actor .

04a60322e9f1b7f993cc1f42225f4753b7052280.jpeg