Layer:getDimensions
EditReturns the width and height of the layer. This is the size of the Layer's plane in meters, not the resolution of the layer's texture in pixels.
width, height = Layer:getDimensions()
Arguments
None
Returns
Name | Type | Description |
width | number | The width of the layer, in meters. |
height | number | The height of the layer, in meters. |
Notes
When a layer is created, its width and height are 1 meter.