As the envelopes will move randomly all over the place, I'm now stuck on how to prevent them from moving outside of the screen. Do you guys have any idea or approach to solve that problem?
Set up a series of if statements for each "wall" and if the envelope hits that wall, change the direction it is moving
I think we might use the same code like in the donut shop, where the sprinkles can only be inside the donut, then this time the envelope can only inside the screen
Thats what I think right now