8 Replies Latest reply on Sep 22, 2017 9:05 AM by kglad

    Click and click & hold in html5 canvas button

    KislayCG Level 1

      Hi,
      I am trying to create a scenario where if i click a button a function execute, but if i click and hold (a.k.a. long press) then the function continue executing as long as i am holding down onto the button. I have done this in construct 2 (as below), want to replicate it in html5 canvas.


      Please help me out here.

       

       

       

      Cheers..