How to make character animations like in Zed Zone?

Hello, I want to make a game and I need a system like the one in Zed Zone. It’s as if they divided the screen into 4 parts and the character appears from different angles depending on which part our mouse is in at the moment. The game is 2D but the character also has a front and back. For example, if our mouse is in the upper left corner, we see the character facing left and viewed from behind. If our mouse is in the lower right corner, we see the front of our character facing to the right. At the same time, the character’s legs, hands and arms move according to the position of the mouse on the screen, for example, let’s assume that we never remove our mouse from the piece in the lower right corner, but we move it within that piece. In this case, although the character does not change its direction according to the position of the mouse, it continues to follow the mouse with its body parts. For example, if I lift the mouse up slightly, the character’s hands also rise up. Can you please help me with what I need to learn to do this?

Show screenshots or a video because I have no idea what you’re even trying to say.

Here: https://www.youtube.com/watch?v=9iY5-jrUU5A

As you can see, the hands and the gun rotate with the mouse, and the body reacts accordingly. The sprite of the character takes shape depending on the position of the mouse on the screen.

It’s 2D animation rigging where it switches to a different sprite based on how much the aim direction changes from the center.