Which line does the debugger say is causing the issue?
What the error is saying is that some variable is null, and it is trying to be combined/operated with another variable that is a Vector2. This is probably due to a variable not being initialized correctly, or at least that is generally what causes the problem for me.
I think the problem is that velocidad is null when you are multiplying it in _process. I would either try adding the following to _ready:
if (velocidad == null):
velocidad = 1
And/Or double checking that velocidad is set in the editor. Then that may fix it the problem if the problem was that velocidad is null. Without knowing which line is causing the problem, that is what I would try to do :smile:
Side note: If you indent all the code with a single tab or surround the code with ` (on my keyboard it’s on the Tilda key), then the code will be formatted to look like code in your post :smile: