Fricken Hamster Posted January 1, 2024 Share Posted January 1, 2024 Hey, how would I get a pointer up or down event anywhere on the stage? I was able to do it with the interaction manager by using the default interaction on the render, ie: renderer.plugins.interaction.on('pointerdown' However there doesn't seem to be anything similar for the event system. Quote Link to comment Share on other sites More sharing options...
Mirla Posted December 1 Share Posted December 1 Closest way I've found so far (v8) is by setting the hitArea of the App's stage with its screen bounds, and then tie the events to it: await app.init(... app.stage.interactive = true app.stage.hitArea = app.screen app.stage.on('pointerdown', ... Quote Link to comment Share on other sites More sharing options...
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.