so I did modify this a bit before reposting it but the code is about the same and the bugs are still there - (it's an old project that was created in January of 2022 and while I was revamping it I decided to keep the bad as a demo of what I did wrong) use the arrow keys
this is just a demonstration of what I did wrong when creating the collisions code, the version that actually works with shadow movement is here: https://scratch.mit.edu/projects/887905081/