Skip to main content


Global Settings#

The Settings object (exported to party.settings) holds various values determining the global behaviour of the library. These are not read-only, so you can mess around with them to your heart's content.

debugfalseWhether the debugging mode should be enabled.
gravity800The amount of gravity to apply to particles in the scene, in pixels. Note that this value is positive by default, since the y-axis increases downwards in a DOM.
zIndex99999The z-index to place the DOM containers at.