How to get tan box around node in editor

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

In the editor, there is a tan box showing the size of the object when it is selected. Is there any way to get this through GDscript?

I’m sure to understand which box you are talking about… I suggest you to share a screenshot (use https://fr.imgbb.com/ if needed)

Bornide | 2020-05-21 09:47

Untitled 2.png - Google Drive

droc101 | 2020-05-21 16:00

:bust_in_silhouette: Reply From: Vincent Grossmayer

from my understanding youre talking about the AABB (axis-aligned bounding-box).

godot even has something ready for you:
https://docs.godotengine.org/en/stable/classes/class_aabb.html