Controlled sphere/ Ball game

How does one create a marble that can be controlled with arrow keys or wasd?

I know that I somehow have to use rigidbody and addForce(blah) and stuff but my main problem is that I don’t know how to get the input from keyboard

search input in the unity docs. there is also a C# game example on the unity asset store that has a marble game example in it… i think the package is called “C# game examples”

Take a look at this overview of input and this document on checking whether a key is pressed.