Topic was automatically imported from the old Question2Answer platform.
Asked By
ddabrahim
Hi.
I’m new to Godot.
I would like to get the width and height of a node in pixels using code but I can’t find a way to get this property. I was searching the forum, the docs and the web and seems like everyone mentioning how to get scale but I don’t need the scale (1:1) value.
I need the actual width and height in pixels of a Sprite or a Node2D node but I can’t figure out how to get it.