Interacting with Widget ingame with mouse
So I have it so the player can interact with computers within the game. HOWEVER, while I have got it so the camera moves in to focus on the computers screen when its interacted with and the mouse is enabled, I cannot get it so the mouse can interact with the widget.
The image I have attacched should make it clearer what I mean.
Now I am not entirely ignorant of unreal engine updates and I am aware that in 4.13 they changed it so you cannot click directly on Widgets, hence, I am wondering what I should do. Normally I would spend some time working this out myself but I simply do not have the time at the moment to do so hence I am turning to you knowledgeable folks :).
(Maybe attatch an interaction component to the player then forward the input to the interaction component??? Not entirely sure how I would implement that?)
asked Jan 09 '17 at 09:27 PM in Blueprint Scripting
I have provided a couple of links that I believe will get you pointed in the right direction. I would suggest setting the source for the widget interaction component to "Mouse" and then set up the Press Pointer Key and the Release Pointer Key to use the Mouse events as needed. I hope this information helps.
Make it a great day
answered Jan 10 '17 at 08:14 PM
Rudy Q ♦♦ STAFF
Try setting a beginplay node on the BP that calls the UMG/Widget and set input mode to Game & UI?
answered Jan 10 '17 at 07:00 PM
Follow this question
Once you sign in you will be able to subscribe for any updates here