Get input as direction(vector) from user

I wan get user input as direction. how can i get it?

Construct a vector from X/Y/Z inputs (three number inputs). Effectively as a direction that is all a vector is.