======Effect======
----
**Effects** are visual particle effects created in the [[Effect Editor]] (e.g. fire, rain, snow, fountains, sparks, etc.). They can be added to a [[map]] in the [[Map Editor]] by selecting one of your project's effects from the assets tab on the right. They can also be attached to a model's [[attach_points|attach point]] in the [[voxel_editor|Model Maker]] or added dynamically in-game via the [[Add Effect]] scripting function. Since an effect is a type of [[entity]], they can be removed from the scene completely via the [[Remove Entity]] function.
{{:gif:flame.gif?nolink|}}\_\_\_\_{{:gif:fountain.gif?nolink|}}\_\_\_\_{{:gif:portal.gif?nolink|}}\_\_\_\_{{:gif:rain.gif?nolink|}}\_\_\_\_{{:gif:snow.gif?nolink|}}\_\_\_\_{{:gif:stun.gif?nolink|}}\_\_\_\_{{:gif:sparks.gif?nolink|}}\_\_\_\_{{:gif:dirt.gif?nolink|}}
It's important to note that "One-Shot" effects added via the [[Add Effect]] function will need to be triggered using the [[Enable Effect]] function once they've been added to the [[map]] (or whenever the particles need to be emitted).
=====Scripting=====
Refer to the table below for a list of effect properties that can be accessed from a [[script]]. If the property's value can be changed using an [[script_syntax|assignment statement]], it will be noted in the description.
^Property^Description^
|.id|Entity ID of the effect. This can be used to either retrieve or change the ID of the effect.|
|.type|Type of [[entity]], in this case the constant value EFFECT.|
~~NOTOC~~