I'm starting to study and found this error during a video class.
unexpected token: identifier:moveandslide
extends KinematicBody2D
const UP = Vector2(0, -1)
const GRAVITY = 20
const SPEED = 200
const JUMP_HEIGHT = -550
var motion = Vector2()
func physicsprocess(delta):
motion.y += GRAVITY
if Input.isactionpressed("uiright"):
motion.x= SPEED
elif Input.isactionpressed("uileft"):
motion.x= -SPEED
else:
motion.x=0
if isonfloor():
if Input.isactionpressed("uiup"):
motion.y = JUMPHEIGHT
moveandslide(motion,UP)
erro:E 0:00:00:0749 Condition ' debugparseerrline >= 0 ' is true. returned: __null
modules/gdscript/gdscripteditor.cpp:330 @ debuggetstacklevel_instance()