self:get_scale

Client

Retrieves the local scale of the point light


Syntax

local scale = self:get_scale()

Parameters

No parameters are accepted by this function

Returns

TypeNameDescription
vector3scaleCurrent local scale as {x, y, z}

Examples

Get the local scale of a point light
local entity = light.point.create()

core.engine.print("info", "Point light scale:", util.table.unpack(entity:get_scale()))

On this page