Widget problem in ue4; How to make a widget show when a key is pressed from the keyboard?

50 Views Asked by At

Recently, Im trying to create a scope(with widget) in UE4 and it doesnt show on when a certain key is pressed(in this case K). What I was wondering is if its possible to attach a certain actor component to a pawn or any other method?

I have tried to attach the widget(scope) to the gun, which is an actor and still doesnt work appropiateley. Also Ive tried to create a child actor component in the gun blueprint to attach it to the pawn(which is a tanand still not the expected resdult. Do you have any advice?

0

There are 0 best solutions below