mrkiwiman

Members
  • Content Count

    2
  • Joined

  • Last visited

  1. mrkiwiman

    How to check if both mouse buttons are pressed?

    Or can I maybe just somehow check in this loop app.ticker.add(function(delta) { }); if a key is down or not? Instead of doing it via events
  2. This is my code right now to check if left or right mouse button is down: // Left button down app.stage.on("mousedown", function() { // code... }); // Right button down app.stage.on("rightdown", function() { // code... }); But it doesn't seems to be possible that both events happen at the same time. How would I check if both mouse buttons are pressed? Left and right.