# Footsteps: - mouseangle rotation

**URL:** <https://forum.kirupa.com/t/footsteps-mouseangle-rotation/95222>\
**Category:** Uncategorized\
**Created:** [November 22, 2003, 10:09am UTC](https://forum.kirupa.com/t/footsteps-mouseangle-rotation/95222 "2003-11-22T10:09:58Z")\
**Posts on this page:** 1\
**Page:** 1

<div class="post-metadata">

**Author:** ![ikane\_marshal](https://avatars.discourse-cdn.com/v4/letter/i/b9bd4f/32.png) [@ikane\_marshal](https://forum.kirupa.com/u/ikane_marshal)\
**Post date:** [November 22, 2003, 10:09am UTC](https://forum.kirupa.com/t/footsteps-mouseangle-rotation/95222/1 "2003-11-22T10:09:58Z")

</div>

Hi  
Been trying to create a trail of footsteps that follow the mouse pointer aligning themselves to the mouse direction  
I am using setInterval to attach the footsteps at the cordinates of the mouse then calling a function to rotate the footsteps to the mouse pointer (or the previous footstep)  
However the orientation of the steps is all messed up  
I think it is the reference point I am using to set the anglee but i am not sure what that should be  
i amm attatching the .fla  
is there a tut i have missed if so please point  
would really appreciate any help
