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

help with HitTest

$
0
0

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));

 


Viewing all articles
Browse latest Browse all 3978

Trending Articles



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