# Turn my dude!

**URL:** https://forum.kirupa.com/t/turn-my-dude/197020
**Category:** programming
**Created:** [August 12, 2006, 9:10pm UTC](https://forum.kirupa.com/t/turn-my-dude/197020 "2006-08-12T21:10:04Z")
**Posts on this page:** 1
**Page:** 1

<div class="post-metadata">

### Author: ![Austastic](https://avatars.discourse-cdn.com/v4/letter/a/aca169/32.png) [@Austastic](https://forum.kirupa.com/u/Austastic)
#### Post date: [August 12, 2006, 9:10pm UTC](https://forum.kirupa.com/t/turn-my-dude/197020/1 "2006-08-12T21:10:04Z")

</div>

Hey, I don’t have a very good understanding of trig, so if you guys could help me that would be great. I basically need to rotate a movieclip based on the slope of a line. The program is such a slope is generated for the movieclip to move along, but I need to know how you find the angle using slope so I can make my movieclip “face” whatever direction it is moving in.
