"Get_pos() não esta funcioando na godot

:information_source: Attention Topic was automatically imported from the old Question2Answer platform.
:bust_in_silhouette: Asked By Cleitongames

Bom sou novo aqui e queria saber se vocês podem me ajudar
Com um problema com gdscript get_pos () não aceita.
Pois eu estou fazendo um Script de tiro me ajudem se voces sabem outro jeito

:bust_in_silhouette: Reply From: volzhs

get_pos() is used in Godot 2.x and 1.x
it’s changed to get_position()
also you can use .position like node.position.x = 10
no need to do node.set_pos(node.get_pos() + Vector2(10,0))