self:get_scale
Client
Retrieves the local scale of the area
Syntax
local scale = self:get_scale()Parameters
| No parameters are accepted by this function |
|---|
Returns
| Type | Name | Description |
|---|---|---|
vector3 | scale | Current local scale as {x, y, z} |
Examples
local entity = physics.area.create()
local scale = entity:get_scale()
core.engine.print("info", "Area scale:", util.table.unpack(scale))