We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 8ce4214 commit 592a6f7Copy full SHA for 592a6f7
dev/mouse-tracking/app.js
@@ -15,8 +15,6 @@ cursor.y = 0;
15
cursor.anchor = {x: 0.5, y: 0.5};
16
scene.addChild(cursor);
17
18
-console.log(document.getElementsByTagName("html")[0].getBoundingClientRect());
19
-
20
app.ticker.add((deltaTime) => {
21
cursor.x = (PIXI.input.getMouseX() * app.view.width + 0.5) ^ 0;
22
cursor.y = (PIXI.input.getMouseY() * app.view.height + 0.5) ^ 0;
0 commit comments