# Melscript Help

**URL:** https://forum.highend3d.com/t/melscript-help/42997
**Category:** Maya
**Tags:** new-user
**Created:** [August 28, 2006, 7:26pm UTC](https://forum.highend3d.com/t/melscript-help/42997 "2006-08-28T19:26:48Z")
**Posts on this page:** 1
**Page:** 1

<div class="post-metadata">

### Author: ![sortedford](https://forum.highend3d.com/letter_avatar_proxy/v4/letter/s/d07c76/32.png) [@sortedford](https://forum.highend3d.com/u/sortedford)
#### Post date: [August 28, 2006, 7:26pm UTC](https://forum.highend3d.com/t/melscript-help/42997/1 "2006-08-28T19:26:48Z")

</div>

Hi,  
just after a bit of help in mel.  
I have a object attatched to a motion path, i need a piece of mel script, as when it reaches the end it follows the path back to the start, but the object moves backwards. Its set to follow the curve, and ive used the oscillate command at the end, but how can it always follow the direction its travelling in?
