Set input mode game and UI and control character camera

Ok, so did what you suggested and unfortunately its not working but my guess its because I did something wrong. So this is how it works inside my project.

From my character blueprint im shooting line trace if it hits my NPC it is sending the message to my NPC to create widget blueprint. After adding it to viewport I’v change input mode from “game and ui” to “mode game only”. Ad this point everything works just fine widget appear in the game and I have full control over my character.

I’ve created custom event inside my widget blueprint and I’m calling it inside my character blueprint. This is probably the part where I mada a mistake. I’ve created and hook up new variable (variable type is my blueprint that im trying to call) to the custom event. So far so good and this is working but only inside my character blueprint. My event inside widget do not receive anything and I’m getting error “Accessed none trying to read proper widget”