![]() |
Attention | Topic was automatically imported from the old Question2Answer platform. |
![]() |
Asked By | young.fernand |
Why I can’t using get_global_position().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 ‘get_global_position’ is not declared in the current class