How do I find the position of the button instance?

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

Node.position is not defined for extends Buttons.
I assume the method is somewhere in Control. It is GDScript created so I need the code example. Thanks in advance.

:bust_in_silhouette: Reply From: Wakatta

rect_position or rect_global_position for Control type nodes are what you’re looking for

Edit: typo