WASD - move the light source
Pretty simple, just create a shadow sprite that is a line pointing to the left. Then, in a forever loop move said shadow to its object and point it towards the light source. Inspiration: https://scratch.mit.edu/projects/19250739/editor/