Line trace with button

Are you sure it isn’t doing anything at all.
Remember that the Event E-Pressed is 1 frame long, it just registers the time you did press E.
If your intention is to sorta “scan” with your line trace until you release the E, you should do it on the Tick Function, checking if the E is pressed.

The config looks good enough, but it shows that you want to “SEE” the line trace, and that won’t happen because is only 1 frame long.

It does happen to the mouse buttons too, AFAIK.
This is different with Input Events that are linked to AxisMapppings (with values, no pressed/released), this is because the value is expected to be able to change every frame.

So I’m trying to use line trace to interact with other objects. whenever I use the left mouse button to trace, it works. but as soon as I use a keyboard button (in this case I’m using E), it doesn’t do anything at all. Is there anything I’m doing wrong?

Thanks. Could you explain why does this only happen with keyboard events and not mouse events?

Ok thank you