This blueprint works well, but has a problem. I acts as though it has a Flip Flop, so every other time you press “E” it will scan for a mesh. I understand why this happens, but I don’t know how to to fix it the way I want to. Right now the blueprint can only recognize when it hits any mesh, bet can’t distinguish between objects that it can actually pick up and ones it can’t. I would like it to scan every time you press “E” and then release the mesh when you press it again. I want it to release the mesh whether it is in the line scan or not.
Is there a node that can recognize that the player is holding an item?
EDIT: I fixed the problem above, but I would also like to know If I could increase the hit box of the line detection.