현재 저는 Z- 인덱스에 의해 서로 위에 세 개의 캔버스가 쌓여 있습니다.자바 스크립트 이벤트 처리 및 Z- 인덱스
<canvas width="800" height="600" id="test3_canvas" style="position: absolute; left: 0; top: 0; z-index:2"></canvas>
<canvas width = "800" height="600" id="test2_canvas" style="position: absolute; left: 0; top: 0;z-index:1"></canvas>
<canvas width="800" height="600" id="test1_canvas" style="position: absolute; left:0; top: 0;z-index:0"></canvas>
하지만 상위 레이어 캔버스 (Z- 인덱스 : 2) 내가 설정 한 mousedown/mouseup에 /에서 mousemove 이벤트를 잡는 것 같다. 다른 레이어에서도 이벤트를 잡을 수있는 방법이 있습니까?
정확히 달성하기 위해 무엇을하려고합니까? –