bbyford Posted July 8, 2021 Share Posted July 8, 2021 (edited) Trying to do a simple hitTest and found the method in interactions but only getting nulls back. Something I'm missing below? The sprites in the group have interactive set to true. console.log(app.renderer.plugins.interaction.hitTest(new PIXI.Point(playerX, playerY), my Group)); Edited July 8, 2021 by bbyford Quote Link to comment Share on other sites More sharing options...
bbyford Posted July 8, 2021 Author Share Posted July 8, 2021 Ok, my bad, is working now. I hadnt set interactive, i had a spelling error sorry ivan.popelyshev 1 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.