Austin Wasinger Posted November 5, 2022 Share Posted November 5, 2022 I am trying to change the cursor of my PIXI app. I read the docs and see that it should be as simple as: app.renderer.plugins.interaction.cursorStyles.default = 'crosshair' However, I get the following error: Uncaught TypeError: Cannot read properties of undefined (reading 'cursorStyles') When I console.log(app.render.plugins), InteractionManager is not in the list! Is there something I need to do to have the InteractionManager be included in the plugins? I am using a cdn for PIXI.js (https://cdnjs.cloudflare.com/ajax/libs/pixi.js/7.0.2/pixi.min.js) Quote Link to comment Share on other sites More sharing options...
Austin Wasinger Posted November 5, 2022 Author Share Posted November 5, 2022 It appears that version 7.0.2 of PIXI.js does not have the InteractionManager. I downgraded to 6.0.X and that fixed the problem. 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.