Moving character certain amount of distance


As I know we can move character with certain speed like for example 5 metres per second using time.deltatime.

I wanted to find out if there is also a way to move character the way I had imagined it - for example I press a button and character moves exactly 5 metres forward, and if it is possible would I be able to change the amount of time it takes to move it, for example it moves exactly 5 metres forward in 2 seconds, or in 3 seconds etc.

Thanks in advance!