Function override statement

Is there a way to make a override to correspond to certain statements?
My character has an Event Input called Interact. I’d like it to have to two different functions. One when trying to enter a vehicle, which is the basic behaviour for the Interact, but also override when I want the player to interact with inferfaced actors.

I have set Interact event to Override to make a traceline and call whatever interface function the object has, if it has. But then I cannot enter the vehicles anymore. I tried to look for a statement that if the object I try to interact is a vehicle, default behaviour occurs, otherwise overrided one.

for this I used a blueprint interface on my objects, not a overloaded method or anything like that with my character - “do action” then when you use your action button, you call that on whatever object you have reference to.