How to set a variable from level blueprint

I am trying to turn on a boolean I have in BPmotioncontroller (basic VR controller blueprint) from my level blueprint. In the level blueprint I can’t seem to cast to it like I can to other objects in my level. I can cast to the motion controller pawn, but that does not help me because my code and variable is needed in the BPmotioncontroller. What can I do to access that?

There’s different ways you can go about this:

  1. Use your pawn reference to get it’s PlayerController and cast it to your controller class.
  2. If this is a single player game, you can always use GetPlayerController and cast the return to your controller class.
  3. If for whatever reason the above 2 methods don’t work for you, then you should probably be “listening” for the event you’re expecting in your playercontroller rather than encroaching upon something in your level.

When I try to hook up my get player controller to cast, this is the message I am getting (same issue as before)

When I try to hook up my get player controller to cast, this is the error message I am getting (Same as before)