Hello Everyone
Like the title sayed i Want to know how i can figure out that the RMB is beeing pressed. The Manuel says that "TouchInput.isCancelled" do this but
it doesn't work.
I tryed it like this
Scene_Equip.prototype.update = function() { Scene_MenuBase.prototype.update.call(this); if (TouchInput.isCancelled()) { console.log("Right Mouse button was Clicked"); } else if (TouchInput.isPressed()) { console.log("Left Mouse button was Clicked"); }};Only The log for the left Mouse Button is printet out but nothing happens if i press the right Button.
Like the title sayed i Want to know how i can figure out that the RMB is beeing pressed. The Manuel says that "TouchInput.isCancelled" do this but
it doesn't work.
I tryed it like this
Scene_Equip.prototype.update = function() { Scene_MenuBase.prototype.update.call(this); if (TouchInput.isCancelled()) { console.log("Right Mouse button was Clicked"); } else if (TouchInput.isPressed()) { console.log("Left Mouse button was Clicked"); }};Only The log for the left Mouse Button is printet out but nothing happens if i press the right Button.