FPS: Drag and swipe to open sliding door.

Hi guys,
I’m trying to get this door working and I managed to get 50% of what I want.
I’m trying to get a drag and swipe to open a sliding door. I used the switch from the user content example as template.

I made it work only when you are in one side of the door:

  1. You swipe right and the door opens
    (play animation)
  2. You swipe left and the door closes (reverse animation)

When I’m in the other side of the door I want to invert that action: because otherwise It doesn’t feel natural to swipe the oposite side to open the door.

I’m trying the Grab Interact Interface to detect the position of the player relative to the handle so I can invert the control with a branch or something. But I can’t manage. Can anybody help me to solve it?

Thanks in Advance.

J.

Ok, so I got it:
I edited the blueprint as attached, and now I works. It’s a bit buggy though: It doesn’t seem to catch properly which timeline to pick at the beginning and that leads to a weird animation at first. It’s like a sudden opening of the door. But after that little moment it seems to catch the input properly. Can anybody help to polish this little thing in the blueprint?

Thanks.