Go to the node show in the image below and make sure that the same inputs on your node are enabled. Locations are at the top of all screenshots.

Next go to the location shown in the image below and replace the node you have with the nodes shown in the image below.

Next go to the location shown in the image and connect the == node to the hit actor on the hit result thats also in the function like in the images below.

Add the highlighted nodes shown in the image below.