Why I can’t using getglobalposition().x in KinematicBody? what's the solution?
My code:
if(tinge.get_global_position().x<self.get_global_position().x):
Move += Vector3(-0.1,0,0)
then a message appears “Method ‘getglobalposition’ is not declared in the current class