as the title says, while holding the directional button it will only move one, and not continually. here is my code and under the debugger says something but i cant seem to find the answer or figure out what they mean. i am new to coding so i would appreciate anything that can help me out, or direct me to a source that might be helpful in the future.
var velocity = Vector2()
velocity.y += 0
velocity.x = 100
velocity.x = -100
velocity.x = 0
W 0:00:10:0471 The function 'moveandslide()' returns a value, but this value is never used.
W 0:00:10:0471 The argument 'delta' is never used in the function 'setphysics_process'.