isEnabled
A Boolean value that indicates whether the node is casting light.
Declaration
var isEnabled: Bool { get set }Discussion
If the value is true, the light is enabled and affects sprite nodes in the scene. The default is true.
A Boolean value that indicates whether the node is casting light.
var isEnabled: Bool { get set }If the value is true, the light is enabled and affects sprite nodes in the scene. The default is true.