i have an error help

:information_source: Attention Topic was automatically imported from the old Question2Answer platform.
:bust_in_silhouette: Asked By milanvalster

this is the error

0:00:02:0518 - Condition ’ _debug_parse_err_line >= 0 ’ is true. returned: __null

Type:Error
Description:
Time: 0:00:02:0518
C Error: Condition ’ _debug_parse_err_line >= 0 ’ is true. returned: __null
C Source: modules/gdscript/gdscript_editor.cpp:287
C Function: debug_get_stack_level_instance

and this is my script

extends KinematicBody

export var speed = 10
export var acceleration = 5
export var gravity = 0.98
export var jump_power = 30
export var mouse_sensitivity = 0.3

onready var head =$Head
onready var camera =$Head/Camera

var velocity = Vector3()
var camera_x_roatation = 0

func _input(event):
if event is InputEventMouseMotion:
head.rotate_y(deg2rad(-event.relative.x * mouse_sensitivity))

	var x_delta = relative.y * mouse_sensitivity
	if camera_x_rotation + x_delta > -90 and camera_x_rotation + x_delta < 90:
		camera.rotate.x(deg2rad(-event.relative.y * x_delta))
		camera_x_rotation += x_delta

func _physics_process(delta):
var head_basis = head.get_global_transform().basis

var direction = Vector3( )
if Input. is_action_just_pressed("move_forward"):
	direction -= head_basis.z
elif input. is_action_just_pressed("move_backward"):
	direction += head_basis.z

if imput. is_action_just_pressed("move_left"):
	direction -= head_basis.X
elif input.is_action_just_pressed("move_right"):
	direction += head_basis.X

direction = dirextion.normalized()

velocity = velocity.linear_interpolate(direction * speed,acceleration * delta)

velocity = move_and_slide(velocity)

Please reformat this with a code block, indenting all lines with four spaces.

Anm | 2021-01-28 16:55

:bust_in_silhouette: Reply From: cascas

Doesn’t the script editor say anything? From a glance I can see you made more than a few typos…