invalid call. Nonexistent function 'is_action_pressed' in base 'Vector2

Godot Version

4.2.2

Question

I am new to programing so I tried something relatively simple.

I made a movement script, however when I tried to run it, it says “invalid call. Nonexistent function ‘is_action_pressed’ in base ‘Vector2’.”
I don’t know what this means or how to solve it. I believe it has something to do with the variable ‘int’ having a green color rather than red color.

GDScript is case-sensitive. Use Input.is_action_pressed (with capital I).