How do i change the position of my labels and buttons in a scene

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

The position in the preview does not match the position when I tested the scene.

I tried adjusting the margin and anchor of the buttons and labels to the position I desire but when I saved and tested the scene, it still remains the same.

What exactly do you mean by not matching? Margins and anchors set the relative positions of control nodes

exuin | 2021-04-14 21:24

An image of both would greatly help your case

Wakatta | 2021-04-14 23:26

I can relate this also happen to me when I’m creating a Line graph. Let say that the position of a node in editor is Vector2(999,999). If you play it it will be like Vector2(1200,1100) or some sort. What I do is I just subtract the position of node in editor versus the position of testing.

Mrpaolosarino | 2021-04-15 12:01

Any chance that you’re looking at local coordinates? You can print the global_position to check if it is changing too.

Emankcin | 2021-04-16 03:59