How to move a ball in a 2.5d game? By c#

Hi guys…
I’m an amateur in unity 3d and I decided to make a 2.5d game that I designed it before In game maker by 2.5d…
Now in unity 3d I made my game shapes and now I have a ball that have gravity…
I want a c# code for my ball object as a player to make it change it’s z position by arrow buttons left and right.
My ball name is ‘Sphere’
Can anybody say what to write?( I’ve already set Sphere’s rigidbody for gravity.)
( I prefer the speed to be 4)
Please someone tell me

You should try the tutorial for the Roll-a-Ball game. It’ll answer your question and teach you a lot of other important stuff.