DecayKnowledgebase
valuegenerated

this.light2d

The 2D light on this script's object, if it has one: its color, brightness and reach. Call it with a name, light2d("halo"), for another of the object's lights, or null when it has none of that name.

Signature

this.light2d: Light2d

Member of this

Related types

Light2d

Source
docs/generated/decay-api.json
Schema
v1
Engine version
0.1.0
Source commit
909aca81368b