Move pawn with mouse movement

Hi! I’m trying to implement this, but I can’t get it to work. Tried it in level blueprint and in character blueprint, but nothing happens when I hold down my input key (middle mouse in my case).

Anyone have an idea why it might not be working?