Note: your use of set_position() is incorrect - it takes a single argument of a Vector2, not two arguments.
Using the position property is preferred. Properties will be suggested by autocomplete. set_ and get_ functions were used in Godot pre-3.0 - and still exist for compatibility - but they just make your code more verbose. Compare: