How to open car doors with UMG button instead of keyboard?

Hi I am very new to blueprints in UE4 and have set up a simple car configurator and am able to open the front doors using keyboard keys.

I’d like to be able to trigger these by buttons on the UI instead but have no idea how to do that. I’ve watched some tutorials but can’t find the specific thing I’m after. Would it be better to be able to click on the door and trigger them instead?

I’ve attached the graph which controls my doors currently and you can see they are controlled by keys.

I have no idea how to reference these in my UMG graph?

If you need anything else let me know!

Help on either would be great!

Do you have a widget already? Or do you need help creating one?

I have no idea how to reference these
in my UMG graph?

It’s generally easier and more logical to do it the other way round.

  • if you do have widget, which blueprint is the widget created in?
  • are you using a widet component perhaps?
  • is the widget a part of the car blueprint?
  • are we using a button for this or clicking on something else?
  • is the widget always on the screen or shows up when something else happens?

Would it be better to be able to click
on the door and trigger them instead?

That’s up to you. Both methods can be made to work (simultaneously, too!). Do tell.

Hi thanks for the reply. I figured it out in the end.