How control velocity of character body 2d from area script

Godot Version

v4.2.2.stable

Question

the problem is :

The error is telling you that you can assign a value of ‘int’ to velocity. Perhaps you mean to add or subtract jump from velocity instead?