Where the mouse events will be detected
If set to canvas
only the particles canvas will be targeted
If set to parent
only the particles canvas parent will be targeted
If set to window
every area will be the target
Interaction events options, this configures which events are enabled and which modes should be used
Interaction modes options, this configures every mode behavior
Particles interactivity options
Interactivity
Detects On
This property is used to determine which HTML element should catch mouse interaction.
The valid values are:
"canvas"
: Only the particles canvas will be targeted"parent"
: Only the particles canvas parent will be targeted"window"
: The full window will be targeted, this will work perfectly with a negative z-index positioned canvasEvents
See Events documentation {@link IEvents | here}
Modes
See Modes documentation {@link IModes | here}