Skip to reading
GDScript Programming & Godot

DetachParticleEffect()

Edition 0.86.4.1 HF1

0.86.4.1 Hotfix 1 edition. Earlier lessons and screenshots retain their original version context; revised references and supplements describe the newer behavior.

Download PDFView PDF page

Detach Particle Effect

Detach a particle-effect entity from its target.

Source table from DetachParticleEffect(), page 173
Option key / fieldMeaning and inputDefault
Particle Effect entityIdChoose a scene entity ID.Blank

Timing. Waits for the runtime routine to return; no further completion wait is promised by this schema.

Code example
await DetachParticleEffect({"entityId": "archive_door"})

In use. Detach a trailing effect when the carried object is put down. If the emitter should stop too, change its emission/enabled state through the appropriate effect setup or supported property action.

Page 173 of 378Permalink
Go to page