Events - EventDispatcher click

Good afternoon.
I see in examples such events as: start, dragstart, hoveron.
I read the documentation of EventDispatcher, but there are no such!
I can see that EventDispatcher is connected to such classes as DragControls, TransformControls and so on.

Where can I find out what events exist besides start, dragstart, hoveron. I need an event - click (like onclick)

The supported events are listed in the respective documentation pages. Look for the Events section.


it turns out there is only this


Events are specific for each controls type. If you’d like to listen to a global onclick / onmousedown, you can attach an event listener to the <canvas> element the scene is rendered on (using just a native JS event.)

(EventDispatcher is only a utility, it probably won’t help you much in this case.)

2 Likes