Hi I am making a mini game with a partner for our school project. We used the code from this video to make our enemies: https://www.youtube.com/watch?v=L9lnAeEgA2M
however, it always marks an error in our editor. So our guess is that the version of Greenfoot we are using is different from the video.
So, how can we adapt this code for Greenfoot Version 3.7.0?