iTween input with spring

I am trying to move a selected block the user grabs along one axis (x) when they push the a or w keys, while the key is pushed it should slide along and then when it is released, I would like it to spring in to place where they stopped pushing the key.

I am having difficulty with itween, it keeps moving the block in steps instead of smoothly.

if(Input.GetKey(KeyCode.A) || Input.GetKey(KeyCode.D))
		{
			float horizontal = Input.GetAxis("Horizontal");
			
			iTween.MoveUpdate(gameObject, iTween.Hash("x", horizontal, "isLocal", true));
		}

I know, simplistic but I am really not sure how to get the effect I desire.

Add this to your hash: “easetype”, iTween.EaseType.easeOutSine to solve your first problem.