Jump to content

How to record Pointer's history?


Recommended Posts

I have read from this topic about history on pointer.



However, when I tried with this code:

startDrag: function(sprite) {  this.currentInput = this.input.activePointer;  this.currentInput.recordPointerHistory = true;},stopDrag: function(sprite) {  console.log( this.currentInput );}

The _history array is empty in console.


Please let me know how to make the pointer record history.

Link to comment
Share on other sites


  • Recently Browsing   0 members

    • No registered users viewing this page.
  • Create New...