In my game I wanted to have a function where you can open a door. I will no go through the blue prints I did to do this.
To begin with I opened level Blue prints.
Once you are in this section you want to add in “OnBeginCurseOver” and “OnEndCurseOver”, these will be what link the door to open.
You now want to add “Get player Controller” what this does it begin the access of the door.
Once you have done that you want to link the “OneBeginCurseOver” and “Get player” to “Set”.
You now want to connect the “OnEndCurseOver” to the second “Set”. On the second set you want to change the Current Mouse Cursor to crosshairs and what this will do is when you hover over the door it change to a cursor that indicates you able to open it.
To finish this proves you one to add “OnClicked” then link that to “DestroyActor” then finally add “door” and what this will do is once you click the door it will destroy.