Relative Content

Tag Archive for gdscript

Animation when moving the mouse

I’m new to Godot. I use it for the second day. I can’t find information on how to solve my problem. There is no way to add running animation and its changeability when moving with the mouse. Either the character is constantly in the “run” animation, or just stands still. I will be very grateful for your help. Here is my code: