The canvas click event [[include:Options/Interactivity/Click.md]]

interface IClickEvent {
    enable: boolean;
    mode: SingleOrMultiple<string>;
}

Implemented by

Properties

Properties

enable: boolean

This property enables or disables the click event

mode: SingleOrMultiple<string>

This property contains a click mode value or an array of those values. If this value is an array, every mode will be used on click.