How to change light type?
Does anyone know how to change light type?
What happens is that I have a button that I would want to create a Point light, but it just create a spot light.
Does anyone know how to change it to create a point light?
My code is:
//Add a Point Light to active Comp
addLightCtrl.onClick = function(){
var pointLight = proj.layers.addLight("Light", [960, 540]);
}