ProtectedconstructorSnap HiddenArray of assets attached to this script.
ReadonlycachePath to the cached asset file.
ReadonlycomponentId associated with the script asset.
TypeScript declaration file path for this script's type definitions.
Description associated with the script asset
ReadonlyexportExport id associated with the script asset.
ReadonlyfileImport metadata for the asset.
Icon associated with the script asset.
ReadonlyidThe unique id of the entity.
ReadonlymetaMetadata associated with this entity, providing access to its unique identifier and other descriptive properties.
ReadonlynameThe name of the asset.
Documentation string for this script.
Array of tags categorizing this script.
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 the name of this object's type.
Returns true if the object is of the specified type.
Returns true if this object refers to the same instance as the given object.
Returns true if the script inpput is hidden from the scene.
Used when you'd like to hide inputs from users in the scene.
Script asset that can be attached to scene objects, containing inputs, attachments, and metadata.
Example