//global.d.ts type ConfettiOptions = { spread: number; ticks: number; gravity: number; decay: number; startVelocity: number; particleCount: number; scalar: number; shapes: string[]; colors: string[]; origin: { x: number; y: number }; }; interface Window { confetti: (data: ConfettiOptions) => void; }

Submission successful

Thank you, one of the SPYGAMES team will be in touch within 72 hours

window.confetti({ spread: 250, ticks: 100, gravity: 0, decay: 0.94, startVelocity: 20, origin: { x: centerPosition.x, y: centerPosition.y }, // coordinates of the origin point on the screen particleCount: 25, scalar: 1, shapes: ['circle'], colors: ['#1EEB78'], });