Input is either 0 or 1

for some reason my input is either 0 or 1, when i want it to move smoothly