# Object Orientated Movement

**URL:** <https://forum.kirupa.com/t/object-orientated-movement/213066>\
**Category:** programming\
**Created:** [January 16, 2007, 6:59pm UTC](https://forum.kirupa.com/t/object-orientated-movement/213066 "2007-01-16T18:59:06Z")\
**Posts on this page:** 1\
**Page:** 1

<div class="post-metadata">

**Author:** ![Sammo](https://yyz1.discourse-cdn.com/flex011/user_avatar/forum.kirupa.com/sammo/32/779_2.png) [@Sammo](https://forum.kirupa.com/u/Sammo)\
**Post date:** [January 16, 2007, 6:59pm UTC](https://forum.kirupa.com/t/object-orientated-movement/213066/1 "2007-01-16T18:59:06Z")

</div>

I was wondering what the best practice for moving a movieclip with the arrow keys was when trying to be as object orientated as possible.

I have a Hero class that is linked to a hero movieclip.
