Command export don't work

I tried to script a camera to follow the character but when I type the @export command in front of the variable in the console below I get an error and it prevents me from running the game. I am new to the engine, I appreciate any help, thank you.
I use an Android cell phone

What is the error? Are you really using Godot version 3 like your tag godot-3 says?

If Godot 3, don’t use @export, that’s changed in Godot 4.

export(Node) var player

If you are using Godot 4, then maybe you forgot to declare a type?

@export var player: Node
1 Like

Yes, I am using version 3.6 on Android. So should I use the first option? Also forgot to declare the element type.

1 Like

Yup, the first option is for Godot 3

1 Like