# Help with Interactive card on Lesson 14 - need sprite to turn and walk off screen

**URL:** <https://forum.code.org/t/help-with-interactive-card-on-lesson-14-need-sprite-to-turn-and-walk-off-screen/23848>\
**Category:** Unit and Lesson Discussion\
**Tags:** csd-unit-3, csd-unit-3-lesson-14\
**Created:** [January 7, 2019, 4:43pm UTC](https://forum.code.org/t/help-with-interactive-card-on-lesson-14-need-sprite-to-turn-and-walk-off-screen/23848 "2019-01-07T16:43:36Z")\
**Posts on this page:** 2\
**Page:** 1

<div class="post-metadata">

**Author:** ![dbremer](https://sea2.discourse-cdn.com/flex016/user_avatar/forum.code.org/dbremer/32/2822_2.png) [@dbremer](https://forum.code.org/u/dbremer)\
**Post date:** [January 7, 2019, 4:43pm UTC](https://forum.code.org/t/help-with-interactive-card-on-lesson-14-need-sprite-to-turn-and-walk-off-screen/23848/1 "2019-01-07T16:43:37Z")

</div>

I have a student that wants his boy to turn right and walk off the screen.  
When the sprite changes animations and gets ready to move - it jumps from the bottom to the top right corner.  
It works (the boy turns, but doesn’t move) when we don’t have the command  
kid.x = kid + 1; inside the loop, but as soon as we add movement - his sprite jumps.

Here is the code:  
[https://studio.code.org/projects/gamelab/0w1s0r8-HMzsW1ilcoCQ1WpHXSXD8KngD3v\_7uTmxw4](https://studio.code.org/projects/gamelab/0w1s0r8-HMzsW1ilcoCQ1WpHXSXD8KngD3v_7uTmxw4)

Thanks a bunch - I’ve used forum lots and all the help is wonderful.

---

<div class="post-metadata">

**Author:** ![dbremer](https://sea2.discourse-cdn.com/flex016/user_avatar/forum.code.org/dbremer/32/2822_2.png) [@dbremer](https://forum.code.org/u/dbremer)\
**Post date:** [January 8, 2019, 3:10am UTC](https://forum.code.org/t/help-with-interactive-card-on-lesson-14-need-sprite-to-turn-and-walk-off-screen/23848/2 "2019-01-08T03:10:00Z")

</div>

Problem solved. After putting it aside for a bit, we caught the bug. Of course it was simple - just missing .x when updating the kid sprite.
