What is the code for having a sprite jump up and then automatically return after one key up?
Thanks so much
What is the code for having a sprite jump up and then automatically return after one key up?
Thanks so much
Hi @anna.arkema,
I think your question is asking about simulating gravity – please correct me if this is mistaken. Gravity is covered in Unit 3 Lesson 21, Complex Sprite Movement. There are examples in the bubbles as your students progress through. There is no one magical answer called “the code” as the exact code will change depending on how exactly the programmer wants the code to work.