orientation and position problem with mouse

Hi everyone. I have a problem about my VR project. When I move rift my target is working. I mean it’s changing. but when I try move with my mouse it is not changing my target.

It’s working when I move my rift in this pic.

and this one when I move my mouse and as you can see target doesn’t change.

and this one my character BP

I want to do change my target when I move my rift and with my mouse. I hope I could tell you my problem :). I need help . Thanks in advance.

Try this, hope it helps:

its working :smiley: thanks a lot after 8 hours :smiley: :smiley: