_:nfb565dd53275486390782073f06461b8xb1
<http://schema.org/text>
"I’m making a basic Soccer style game where the player moves the ball left and right using the arrow keys and shoots the ball into the goal.\n\nSo far I’ve managed to make the arrow keys move the ball the way I want using this code:\n\n//Setting arrow key functionality\n\nlet projectile = document.getEleme&hellip;"
<https://discuss.codecademy.com/t/how-to-detect-when-one-div-leaves-the-boundary-of-its-parent-div/686086>