Is there any possibility to detect the button hovered more than 3 second in the widget using line trace !

im a beginner in ue , i’m using line trace to detect object . Is there any possibility to detect the button hovered more than 3 second in the widget using line trace !!
im using a macro to detect object …