I have been experimenting with some ways to make a sprite follow my mouse cursor (Similar to the game diep.io), but instead of using a script where the sprite constantly faces the mouse pointer, I want to make the sprite change costumes based on where the mouse pointer is on the stage. I currently have costumes for every 45° increment. The sprite would always stay in the middle of the stage.
I understand if this is extremely difficult or impossible.
Thanks in advance,