Hi! I try to move the player with the keys and I can't, I don't know which part is wrong. Help, please!
extends Area2D
export (int) var Speed
var Move = Vector2()
func _ready():
pass
func _proces(delta):
if Input.is_action_pressed("ui_right"):
Move.x += 1
if Input.is_action_pressed("ui_left"):
Move.x -= 1
if Input.is_action_pressed("ui_up"):
Move.y -= 1
if Input.is_action_pressed("ui_down"):
Move.y += 1
if Move.length() > 0: #Verificar si se está moviendo
Move = Move.normalized() * Speed #Normalizar la velocidad
position += Move * delta