Hello Neighbor like magnet gun in ue4?

ive been trying for a few weeks now and cant seem to get it working, but does anyone know why my code isnt working?

ive been trying to make a magnet gun like in the game hello neighbor, but cant seem to figure out how they did it, here is my code currently:

i want the magnet gun item to attract only metal intractable items in the game, but it wont attract anything at all

any help would be appreciated!

Your “move component to” node does not have any object as a focus. Also, the whole setup is unoptimized and is a bad practice of writing scalable and efficient code.