Where to see exact pixel size of objects in a scene?

Viewed 242

I am currently editing objects in the main scene of my demo game. However, it is frustrating for me to be unable to see the exact width/height of a selected object.

Is there any way to see these desired properties? Or do I have to go through each scene and compute the various applied scales/transforms myself in order to determine this information?

enter image description here

1 Answers

Not every node has a size (your player's root node for example). In your specific case, you'll want to look at the children inside of your player.

On a CollisionShape2D, click on the Shape itself to reveal size information.

as seen here.

A Sprite node will only display the source texture's size if you click on it.

You can still get accurate size info by enabling Region and setting the Rect manually. You will probably want Auto Slice. This is done at the bottom of the screen in a TextureRegion widget. Just make sure to set scale back to 1x1 when you're finished defining it.

enter image description here

Related