how to make the handle open the door by clicking the mouse?

hello, I want to make the door open when I click on the handle, I managed to do it by clicking on the scene, but I just want the door to open when I click on the handle, I’m new to unreal and I’m kind of lost in this, thanks

First person character?

Then you need to find out about line traces

The door needs to be a blueprint. When the player clicks, you do a line trace ( in the player code ), and send a message to the thing you clicked.

The easiest way to send a message, is with a blueprint interface

In the door BP, you have the interface event that gets activated with the click. It can either open the door ( because you clicked it ) or, if you want to be more precise, only open if you clicked the handle.

I know that might sound like a bit much, and yes, I have condensed it as much as possible. But that is the best way to do it :slight_smile: