Create a 2D particle emitter at a position.
Emitter X position
Emitter Y position
The emitter ID for use with emitBurst
const emitter = sg.createEmitter(100, 200);sg.emitBurst(emitter, 20); Copy
const emitter = sg.createEmitter(100, 200);sg.emitBurst(emitter, 20);
Create a 2D particle emitter at a position.