Video:getDimensions

Available since LÖVE 0.10.0
This function is not supported in earlier versions.

Gets the width and height in pixels of the Video.

Function

Synopsis

width, height = Video:getDimensions( )

Arguments

None.

Returns

number width
The width of the video.
number height
The height of the Video.

See Also

Other Languages