Tile - YParticle - Is Particle Enabled – Ylands
Jump to navigation
Jump to search
m (YlandsClassyBot moved page Ylands Tile - Get-set particle template enabled to Ylands:Tile - YParticle - Is Particle Enabled: New Structure) |
No edit summary |
||
Line 1: | Line 1: | ||
<!--- | |||
THIS PAGE WAS GENERATED AUTOMATICALLY; DO NOT EDIT IT, OTHERWISE YOUR CHANGES WILL BE LOST DURING FUTURE UPDATE. | |||
--> | |||
== Is Particle Enabled(Entity, Id) == | |||
[[File:YlandsTile-798.png]] | |||
<pre>static isEnabled(entity: YEntity, id: string): boolean;</pre> | |||
=== Parameters === | |||
==== entity ==== | |||
==== id ==== | |||
=== Returns === | |||
'''boolean''' | |||
=== Description === | |||
Returns whether the target '''entity''' has the selected '''particle effect''' active. Select the '''string ID''' for the target '''particle effect'''. | |||
=== Notes === | |||
* Only works on '''entities''' with previously '''placed'''/'''worn''' '''particle effects'''. | |||
Line 7: | Line 31: | ||
[[Category: Instructions]] | [[Category: Instructions]] | ||
Revision as of 09:53, 8 July 2021
Is Particle Enabled(Entity, Id)
static isEnabled(entity: YEntity, id: string): boolean;
Parameters
entity
id
Returns
boolean
Description
Returns whether the target entity has the selected particle effect active. Select the string ID for the target particle effect.
Notes
- Only works on entities with previously placed/worn particle effects.