Ok when you say BP actor is this your player pawn character? If so you need to make sure you allow control either by
Setting the default game pawn and player controller
Or
Ticking player0 in the auto possess by player option in the details panel in the editor when u select your player
You are sending input to your player, so the code to change the variables needs to be in the player