# Direction Screen

**URL:** <https://forum.code.org/t/direction-screen/39004>\
**Category:** Coding and Debugging Help\
**Created:** [February 7, 2024, 8:04pm UTC](https://forum.code.org/t/direction-screen/39004 "2024-02-07T20:04:19Z")\
**Posts on this page:** 2\
**Page:** 1

<div class="post-metadata">

**Author:** ![cathie\_gillner](https://sea2.discourse-cdn.com/flex016/user_avatar/forum.code.org/cathie_gillner/32/5119_2.png) [@cathie\_gillner](https://forum.code.org/u/cathie_gillner)\
**Post date:** [February 7, 2024, 8:04pm UTC](https://forum.code.org/t/direction-screen/39004/1 "2024-02-07T20:04:19Z")

</div>

In Game Lab my student is trying to make two screens to explain directions. When he presses A he wants the startscreen directions to disappear instead of having to hols A to see the directions. Thanks for any idead.

> **[Check out what I made](https://studio.code.org/projects/gamelab/SH-OWAY3cEvPw-JBnhGuITXHw7gFKsaFd5Mfv7oGqu8)**
>
> I wrote the code myself with Code.org

---

<div class="post-metadata">

**Author:** ![melynn](https://sea2.discourse-cdn.com/flex016/user_avatar/forum.code.org/melynn/32/4925_2.png) [@melynn](https://forum.code.org/u/melynn)\
**Post date:** [February 8, 2024, 12:25pm UTC](https://forum.code.org/t/direction-screen/39004/2 "2024-02-08T12:25:47Z")

</div>

Hi @cathie_gillner,

The student has most of the code and correct ideas. The first if statement just needed to be moved into the draw loop so that it could be tested -otherwise it only runs one time instantly when you hit run and doesn’t check for the a key down after that first fraction of a second. And then inside the if statement, both variables need to change when the a key is pressed.

Like I said - all the ideas were there, they just needed to be adjusted a bit. Here is my version with the [small adjustments](https://studio.code.org/projects/gamelab/NSTQHAL9vwwlfpcg_RgxS_Syb9J8OYWpFk2wByWHuAU).

Fun game!  
~Michelle
