In this video I continue with an example program in Code.org's AppLab that moves an image around the screen with keyboard input. I show how to prevent the image from moving off the screen by using a compound Boolean expression that accounts for the boundaries of the AppLab screen.
Link to the code shown in the video: https://studio.code.org/projects/applab/6Xu2LYGQkn6QkXtE5CqaZw/view
Download
0 formats
No download links available.
Bounding a moving element to the screen in AppLab (Code.org) | NatokHD