What is the replacement for app.renderer.plugins.interaction.on
in v7?
#9422
Answered
by
bigtimebuddy
Chaos-Enyo
asked this question in
Q&A
-
What is the replacement for |
Beta Was this translation helpful? Give feedback.
Answered by
bigtimebuddy
May 8, 2023
Replies: 1 comment 3 replies
-
If you want to add global event listeners, consider adding event listeners to your root container
Events now support bubbling, so you should be able to use the return |
Beta Was this translation helpful? Give feedback.
3 replies
Answer selected by
Chaos-Enyo
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
If you want to add global event listeners, consider adding event listeners to your root container
app.stage.on
. We also added the following:globalmousemove
globalpointermove
globaltouchmove
Events now support bubbling, so you should be able to use the return
event.target
to get the element you interacted with.