As you hopefully know, there was a eclipse and a blood moon recently. I wanted to make a project on hopscotch that is a little demonstration. But, it's not working. The way I made it so the shadow would form, slowly getting smaller, is not working. I put this code for the background and shadow drawer.
and I put this code for a different object to set the width of the shadow:
And this is how it comes out:
Yes, I do know the width of the shadow doesn't start at a good size from the beginning, but I will set the right size once the shadow is actually doing what I want it to do. Please help me with this code!