game.shootConfetti function not working

I tried the game.shootConfetti function as follows to produce confetti, but it did not work.
→Usually you can use the F key to bring it up.


Am I using it incorrectly?
I would appreciate it if you could let me know.

sorry for the delay!

are there any errors or logs? that should work, if you are an owner of the space and the player is online, but will fail (and return an error) otherwise

Thank you for your response.
There was no error. Here is the log when I ran it in the chrome console.

// other id


// my id


ah ok sorry it took me a while but I figured it out – confetti is expensive to render so it’s only shown when you’re focused on the tab (and being focused on the console counts as not focused on the tab/main window). you can confirm this with setInterval(()=>game.shootConfetti(),1000) and then refocusing the tab

1 Like

Thank you for your response.
I see. I understand.
I have tried and solved the problem.
Thank you very much for your time.