Quantcast
Channel: Pixi.js Latest Topics
Viewing all articles
Browse latest Browse all 3978

No InteractionManager in plugins

$
0
0

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)


Viewing all articles
Browse latest Browse all 3978

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>