You are reading a single comment by @Gordon and its replies. Click here to read the full conversation.
  • Ahh, that's interesting. I just checked and it seems that if you redefine the function with:

    function touch(x,y) {
    ...
    }
    

    It should work (I didn't try this on the touchscreen, but I tried with setInterval, and something that looks a bit like the touchscreen handler).

    However if you try edit then it does:

    touch = function(x,y) { 
    ...
    };
    

    And that doesn't work. I'll try and fix that (what edit does) in the next version though. Unfortunately I believe that touch = function() { ... } actually does the correct thing in not updating the function, only the pointer.

About

Avatar for Gordon @Gordon started