Gets the current viewport of this Quad.
== Function ==
=== Synopsis ===
<source lang="lua">
x, y, w, h = Quad:getViewport( )
</source>
=== Arguments ===
None.
=== Returns ===
{{param|number|x|The top-left corner along the x-axis.}}
{{param|number|y|The top-left corner along the y-axis.}}
{{param|number|w|The width of the viewport.}}
{{param|number|h|The height of the viewport.}}
== See Also ==
* [[parent::Quad]]
* [[Quad:setViewport]]
[[Category:Functions]]
{{#set:Description=Gets the current viewport of this Quad.}}
{{#set:Since=000}}

== Other Languages ==
{{i18n|Quad:getViewport}}