I have a problem and it is that my character stops moving, as I see the code that I did is fine and what's more, it moved perfectly until a few seconds ago, but even after I start a new scene with the same thing that I had done before it just doesn't work . I am quite new even in all this and I do not know if it is some kind of bug or something like that, I attach my code here.
extends KinematicBody2D
var movimiento = Vector2()
func _physics_process(delta):
movimiento = Vector2(0,0)
if Input.is_action_pressed("W"):
movimiento.y=100
if Input.is_action_pressed("S"):
movimiento.y=-100
if Input.is_action_pressed("A"):
movimiento.x=-100
if Input.is_action_pressed("D"):
movimiento.x=100
movimiento = move_and_slide(movimiento)