== if you want the excat value (dont do that with float values)
<= if you want a value that is equal or lower
< if you want a value that is lower
the snippet you posted does say much, what exactly does not work?
does he continue to accelerate?
does he stop moveing at all etc.
There is also an jump and run example for godot 2.2