Video:getDimensions

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

Gets the width and height of the Video in pixels.

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