How can i enable/disable blueprint with linetrace?

what visible components does your blueprint have ?
can you share a screenshot of the blueprint-view menu ?

Hi,

you can store the last hit object in a variable “lastHitObject”. When your line trace have no hit result but this “lastHitObject” is valid then disable the object and reset “lastHitObject”.

-freakxnet

Hello everyone, I urgently need your help. I want to know how to disable a blueprint with linetrace. i have managed to activate it but when my blueprint is not selected with the linetrace it continues to operate. how do I fix it? I’m new on the blueprint scripting. Thanks so much

@freakxnet - thank you for your reply, could you send me a screenshot of what I should do?
sorry i don’t understand