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?

in Engine by (157 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

by (128 points)
selected by
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 Frequently asked questions and How to use this Q&A? before posting your first questions.
Social login is currently unavailable. If you've previously logged in with a Facebook or GitHub account, use the I forgot my password link in the login box to set a password for your account. If you still can't access your account, send an email to [email protected] with your username.