Controll pawn actor on event tick unreal engine

You did not include details regarding how this is going to be used; going by the description of:

I have a ball player that i want to
control just left right. The ball keep
jumping on entire game.

It’d be something along the lines of:

Image from Gyazo

But again, choosing the movement method would depend on many factors.