This is probably something really stupid that i'm not seeing, and the code is really simple. I have this code on my StaticBody2D:
pass # Replace with function body.
get_node(".").constant_linear_velocity = -50
And everything works fine UNTIL i press ui_left, which gives me this error:
Invalid set index 'constantlinearvelocity' (on base: 'StaticBody2D(Belt.gd)') with value of type 'float'.
EDIT: my silky smooth brain just figured out that it wants a Vector2 from me, i am sorry for wasting your time