Play auio while object is moving

Hi i was trying to make it so when i i was dragging an object using the drag ridigbody script the object would play a noise but it only seems to play the audio when you let go of it is their any way to make it play while moving?

using UnityEngine;
using System.Collections;

public class OpenSound : MonoBehaviour {


	

	void Update () 
	{
		if(rigidbody.velocity.magnitude >= 0.1)
		{
			audio.Play();
		}
	}
}

Yes. You need to prevent the sound from starting every time the Update function is executed. One of the ways to do that is by checking is the sound is not playing already

if (rigidbody.velocity.magnitude >= 0.1 && !audio.isPlaying )