Why is this throwing the Unexpected Token:Identifier:Extends error?

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

Extends Node2D

Declare member variables here. Examples:

onready var Tile=preload(“res://tile.tscn”)

var xPn:float =0.0
var yPn:float=0.0
var myObject = Tile.instance()
func addobj():
myObject.position = Vector2(10,0)

Called when the node enters the scene tree for the first time.

Called every frame. ‘delta’ is the elapsed time since the previous frame.

#func _process(delta):


:bust_in_silhouette: Reply From: timothybrentwood
Extends Node2D

extends should be lowercase, change it to:

extends Node2D