ServersYour serverFor creatorsForumFAQDocumentationSecurity
Download the launcher
  1. Documentation
  2. Shared functions
  3. getParticleEmitterSettings

Function

getParticleEmitterSettings

Server and clientParticlesTrilogy Hub only

Returns a copy of the emitter's settings. You can change it and pass it back to setParticleEmitterSettings.

Syntax

table getParticleEmitterSettings(element emitter)

Arguments

emitterelement
The emitter.

Returns

The settings or false.

Example

local s = getParticleEmitterSettings(fire)
s.rate = s.rate * 2
setParticleEmitterSettings(fire, s)

See also