possibly by doing animation outside of movement loop.
possibly by doing animation outside of movement loop.