Shape:getVolume
EditReturns the volume of the Shape, in cubic meters.
volume = Shape:getVolume()Arguments
None
Returns
| Name | Type | Description |
| volume | number | The volume of the shape, in cubic meters. |
Notes
MeshShape and TerrainShape do not have volume, and will return 0.