ReadonlycacheReadonlycomponentId associated with the script asset.
Description associated with the script asset
ReadonlyexportExport id associated with the script asset.
ReadonlyfileIcon associated with the script asset.
ReadonlyidThe unique id of the entity.
ReadonlymetaReadonlynameThe name of the asset.
ReadonlytypeThe entity's type.
Version associated with the script asset.
A list of entities which this entity has a reference to.
StaticgetA list of entities which has a reference to this entity.
StaticgetReturns true if the script inpput is hidden from the scene.
Used when you'd like to hide inputs from users in the scene.
Script Assets are text files that contain the code you write for your Lens. Scripts are written in Javascript or TypeScript.
Example