Line trace Location and Impact Point sometimes set to O

So basically im trying to make an Interaction system where it detects if you touched an object with the mouse. It looks like this:

But for some reason I dont understand, sometimes works and sometimes the Location and Impact Point is set to 0,0,0.

I tried printing every value and it seems the problem is in the Line trace node (the start and end Location values never change) so it ends having the return value to False and having to click so much to getit to work.

I dont know if its a performance problem (since when I have the BP window open the game runs slower) but happens always, even in a build version.

Pls help, i dont knwo what else to try.

Move this to here

Doesnt work. I´ve printed the Blocking Hit + the Hit Actor display name at this is what it gives:


You need to test if it’s a blocking hit. If it is, then carry on with the code.

So don’t do anything, unless it’s a blocking hit.