# Vertical Scroll?

**URL:** <https://forum.code.org/t/vertical-scroll/27061>\
**Category:** CS Discoveries\
**Tags:** csd-unit-3\
**Created:** [May 23, 2019, 9:38pm UTC](https://forum.code.org/t/vertical-scroll/27061 "2019-05-23T21:38:42Z")\
**Posts on this page:** 4\
**Page:** 1

<div class="post-metadata">

**Author:** ![chadwicko](https://avatars.discourse-cdn.com/v4/letter/c/b782af/32.png) [@chadwicko](https://forum.code.org/u/chadwicko)\
**Post date:** [May 23, 2019, 9:38pm UTC](https://forum.code.org/t/vertical-scroll/27061/1 "2019-05-23T21:38:42Z")

</div>

A student is working in game lab, he (and I) are having trouble making a laser first go to the placement of spaceShip then move vertically toward an enemy sprite that comes from the upper part of the screen.

Could somebody help with the coding for this? It seems there would be a draw loop, conditional, and aboolean or two.

Any assistance somebody can supply would be very helpful.  
Thanks

---

<div class="post-metadata">

**Author:** ![karenma](https://sea2.discourse-cdn.com/flex016/user_avatar/forum.code.org/karenma/32/4924_2.png) [@karenma](https://forum.code.org/u/karenma)\
**Post date:** [May 24, 2019, 2:52am UTC](https://forum.code.org/t/vertical-scroll/27061/2 "2019-05-24T02:52:56Z")

</div>

Hi Oliver,

Can you share a link to the project so we can access the code? This makes it easier to debug/help.

---

<div class="post-metadata">

**Author:** ![chadwicko](https://avatars.discourse-cdn.com/v4/letter/c/b782af/32.png) [@chadwicko](https://forum.code.org/u/chadwicko)\
**Post date:** [May 24, 2019, 2:20pm UTC](https://forum.code.org/t/vertical-scroll/27061/3 "2019-05-24T14:20:54Z")

</div>

> **[Code.org](https://studio.code.org/users/sign_in)**
>
> Anyone can learn computer science. Make games, apps and art with code.

---

<div class="post-metadata">

**Author:** ![bradleywellsashley](https://sea2.discourse-cdn.com/flex016/user_avatar/forum.code.org/bradleywellsashley/32/522_2.png) [@bradleywellsashley](https://forum.code.org/u/bradleywellsashley)\
**Post date:** [May 27, 2019, 1:09pm UTC](https://forum.code.org/t/vertical-scroll/27061/4 "2019-05-27T13:09:16Z")

</div>

Oliver,

The link shared takes us to the [Code.org](http://Code.org) dashboard - are you able to share the students game? Do you have sharing turned on in the Teacher Dashboard? You could also “Remix” the game and share that from your account.

Share below and the forum community will take a look!  
Brad
