-
see if the selected layer is a null or not
Hi! I’m trying to write a script where I need to have an if-statement about if the selected layer is a null-object or not.
I have my normal “if (selectedLayer instanceof xxxxx)” code but idk how to make it know if it’s a null or not… When I do a quick alert with the selected layer I get FootageItem but I get that on both images and nulls. Are there any way to know if it is a null-object or not?