nunuStudio icon indicating copy to clipboard operation
nunuStudio copied to clipboard

how to release (ignore ) mouse control (event) while mouse move outside the canvas

Open icoco opened this issue 1 year ago • 0 comments

Description

a little problem, as topic, how to ignore the mouse event while mouse outside the canvas of threejs , seem not easy way ( option maybe ? ) can do this purpose?

sorry for this question, while the editor entry 'Run' mode, looks the mouse event was handle in whole window but only the canvas, how to say, some time, we want only handle the mouse event on the canvas, if outside the canvas then pause the mouse and back then consume .

if some switch option can do this purpose? thanks

Version
  • 0.98.41
Platform
  • [x] Web Version
  • [x] Windows
  • [x] Linux

icoco avatar Jun 09 '23 10:06 icoco