{{newin|[[0.9.0]]|090|type=function}}
Gets the width and height of the Texture.
== Function ==
=== Synopsis ===
<source lang="lua">
width, height = Texture:getDimensions( )
</source>
=== Arguments ===
None.
=== Returns ===
{{param|number|width|The width of the Texture, in pixels.}}
{{param|number|height|The height of the Texture, in pixels.}}
== See Also ==
* [[parent::Texture]]
* [[Texture:getWidth]]
* [[Texture:getHeight]]
[[Category:Functions]]
{{#set:Description=Gets the width and height of the Texture.}}
== Other Languages ==
{{i18n|Texture:getDimensions}}