# Making a symbol move the direction it's facing

**URL:** <https://forum.kirupa.com/t/making-a-symbol-move-the-direction-its-facing/326257>\
**Category:** flash\
**Created:** [December 2, 2011, 9:42am UTC](https://forum.kirupa.com/t/making-a-symbol-move-the-direction-its-facing/326257 "2011-12-02T09:42:18Z")\
**Posts on this page:** 1\
**Page:** 1

<div class="post-metadata">

**Author:** ![Script\_ist](https://avatars.discourse-cdn.com/v4/letter/s/77aa72/32.png) [@Script\_ist](https://forum.kirupa.com/u/Script_ist)\
**Post date:** [December 2, 2011, 9:42am UTC](https://forum.kirupa.com/t/making-a-symbol-move-the-direction-its-facing/326257/1 "2011-12-02T09:42:18Z")

</div>

Hello!  
I want to know if there’s a way to make a symbol move the direction it’s facing.  
I have a character which rotates when you press Left/Right:  
if(Key.isDown(Key.LEFT))  
{  
\_rotation -= 15;  
}  
if(Key.isDown(Key.RIGHT))  
{  
\_rotation += 15;  
}

So this controls which way it’s facing, then I want to make it move in that direction when I press UP.  
I hope you know what I mean, and can help.  
Many thanks  
-Script.ist  
Edit: I forgot to say: It’s actionscript 2.0.
