Hello, when I try to export a var in 4.0 with the syntax
export(float) var velocity
export(NodePath) var targetnode1
I get the error
Unexpected "Identifier" in class body.
full class code
extends KinematicBody3D
export(float) var velocity
export(NodePath) var targetnode1
func _ready():
pass
func onNavigationAgent3Dnavigationfinished():
pass # Replace with function body.