AddWorldOffset relative to the Character forward vector

Hi guys, I’ve been having problem trying to implement this.
I want the sphere to get closer or ward it off using W and S keys in the specific Character forward direction.
How can I get that direction?
Here you can see photos as explanation.
Thank u so much.
The code is: