Making a widget disappear during interaction with chests or door

I’m currently trying to create an interaction system, and when the player is interacting with a chest or a door, during the animation to open it, I want the widget with the “Press E to open/close” to disappear.

Is there any easy way to do it in C++?

I haven’t found any tutorial regarding this so far.

Mainly, my Items are composed of a mesh + a collision box. I tried using a LineTraceSingleByChannel to check the status of a custom collision channel, that its set to ignore during the animation, but the widget does not collapse :confused: