https://prnt.sc/234lraj
https://prnt.sc/234ltfc
i cant move right and left idk why
but if i copy
var direction: = Vector2(
Input.get_action_strength("move_right") - Input.get_action_strength("move_left"),
0.0
)
velocity = speed * direction
from second script
and paste it on first script
it work and i can move
but why it didn't work in first time
i want to separate btw first and second script and not with some