I am new to using GDScript and I'm following the "Your first 2D game" tutorial I am at the part where is has you put position += velocity * delta
but I keep getting a
Parser error: Unexpected token: Identifer:position
I am unsure as to what is wrong because I followed the tutorial step by step. please help

FULL CODE BELOW:

extends Area2D


# How fast player will move (pixel/sec)
export var speed = 400

#Size of the game window
var screen_size 

# Called when the node enters the scene tree for the first time.
func _ready():
	screen_size = get_viewport_rect().size


# Called every frame. 'delta' is the elapsed time since the previous frame.
func _process(delta):
	# The player's movement vector.
	var velocity = Vector2.ZERO
	if Input.is_action_pressed("move_right"):
		velocity.x += 1
	if Input.is_action_pressed("move_left"):
		velocity.x -= 1
	if Input.is_action_pressed("move_down"):
		velocity.y += 1
	if Input.is_action_pressed("move_up"):
		velocity.y -=1
	
	if velocity.length() > 0:
		velocity = velocity.normalized() * speed
		$AnimatedSprite.play()
	else:
		$AnimatedSprite.stop()
position += velocity * delta
position.x = clamp(position.x, 0, screen_size)
position.y = clamp(position.y, 0, screen_size)

The last three lines of the code you posted should be indented by one tab.

The tutorial shows those lines separately from the preceding code, so that's an easy mistake to make.

Here's what it should look like:
https://github.com/godotengine/godot-demo-projects/blob/master/2d/dodge_the_creeps/Player.gd
(This file includes additions from later in the tutorial. Don't add those yet.)

    I deleted my answer because it referred to a typo in the original question, which was edited afterwards.

    Try reviewing the tutorial and make sure you didn't make any mistakes.

    GameDevLife I'm now having another issue where my sprite wont move when i go to play it

    Make sure to finish the whole tutorial before you go and press 'run'.

      Megalomaniak I understand. Just unsure as to why my player sprite isn't moving when I finished creating the player.

      Pay attention to any errors or warnings you get, and type the code in -- don't cut and paste. When you type, the editor has a better chance to automatically format the code properly. In python-like languages, formatting is part of the syntax.

      Typing in code also trains you to ... type in code. It gets you accustomed to typing in code correctly, which is a necessary skill, even if you have experience with other programming languages.