Particles interactivity options


  • IInteractivity

Implemented by


[name: string]: unknown


detect_on: "window" | "canvas" | "parent" | InteractivityDetect


use the new detectsOn instead

detectsOn: "window" | "canvas" | "parent" | InteractivityDetect

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

events: IEvents

Interaction events options, this configures which events are enabled and which modes should be used

modes: IModes

Interaction modes options, this configures every mode behavior