Thanks much for that. I tried your code and it still wasn't what i was looking for, because it wasn't a complete swing - it would stop in the center and then before continuing to the other side and also it didn't eventually slow down to a halt. However the engine you linked to looked great - hopefully i can adapt that. Thanks!