Skip to main content
Known Participant
February 5, 2020
Answered

clicking on movieclip select the whole canvas on mobile

  • February 5, 2020
  • 2 replies
  • 426 views

When I click on an item that has a "click" event listener in my creatjs canvas project on a mobile device, sometimes the whole canvas 'gets selected' i.e. flashes blue.
The click on the MovieClip is detected, but how can I prevent this blue flash behavior on mobile? This is not happening on desktop.

This topic is closed to new replies. Start a new post to keep the conversation going.
Correct answer JoãoCésar17023019

Hi.

 

Include this instruction in your initialization code:

createjs.Touch.enable(stage);

 

 

Regards,

JC

2 replies

JoãoCésar17023019
Community Expert
JoãoCésar17023019Community ExpertCorrect answer
Community Expert
February 5, 2020

Hi.

 

Include this instruction in your initialization code:

createjs.Touch.enable(stage);

 

 

Regards,

JC