- Edited
Hello thats how to hopefully reproduce the behaviour
- Create a scene with any type of Node as root.
- Add a control as child.
- increase its Rect as you like.
- attach a script (an integrated one is enough) and add this function
func _draw(): draw_rect(get_rect(), Color.crimson, false, 4.0)
- duplicate the Control
- Move the duplicate elsewhere.
Look at the difference between what is drawn and what are the Rect positions.
Optionnally you can print the Control rects, its position is still like the properties
It has consequences in my game because I use control just because it give access to a rect editor in the editor.
But with more than one Control this behaviour appears.
Do you know an alternative for drawing rects in the editor ?