thank you, Sorcerer.
I'm using similar code for step sounds on the terrain