0 votes

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?

asked May 20 in Engine by droc101 (38 points)

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)

1 Answer

+1 vote
Best answer

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

answered May 22 by Vincent Grossmayer (88 points)
selected May 22 by droc101
Welcome to Godot Engine Q&A, where you can ask questions and receive answers from other members of the community.

Please make sure to read How to use this Q&A? before posting your first questions.