I want to know how to make my 2D character (PLAYER) flip to left , right , up and down depends on the mouse cursor .
If I move my mouse cursor to left , my character sprite should flip to the left .
if I move my mouse cursor to right , my character sprite should flip to right .
and again if i move to up , it should play a new sprite(I will make a new sprite that lookin up top) .Also for down.
Please help me !!
I am new to godot .
***English is not my language so i might have some grammar or spelling mistakes . ***