Skip to main content
MarkSmit
Inspiring
November 4, 2022
Answered

Is it possible to remove 'createjs.Touch.enable(stage);'

  • November 4, 2022
  • 1 reply
  • 362 views

At the beginning of the animation I use createjs.Touch.enable(stage); so the user can interact on smartphone. At the end of the animation I don't want the user to be able to interact anymore. What is the right syntax to remove 'createjs.Touch.enable(stage);'?

 

something like 'remove.createjs.Touch.enable(stage);'?

This topic has been closed for replies.
Correct answer Vladin M. Mitov

https://www.createjs.com/docs/easeljs/classes/Touch.html

createjs.Touch.disable(stage);




1 reply

Vladin M. Mitov
Vladin M. MitovCorrect answer
Inspiring
November 4, 2022
- Vlad: UX and graphic design, Flash user since 1998Member of Flanimate Power Tools team - extensions for character animation
MarkSmit
MarkSmitAuthor
Inspiring
November 4, 2022

Thanks!