Trying to make Flappy Bird

Sounds like your script is on the “Bird” node yes? If so, altering the position inheritly alters the node the script is attached to. You could also use self. The dollar sign is for finding children by name.

Try changing your line to self.position = pos

Make sure to paste your code with proper formatting