MCPcopy Create free account
hub / github.com/AyushSaini00/60minuteJavaScript / startDrawing

Function startDrawing

HTML-Canvas/app.js:17–20  ·  view source on GitHub ↗
(event)

Source from the content-addressed store, hash-verified

15 let painting = false;
16
17 function startDrawing(event){
18 painting = true;
19 draw(event);
20 }
21
22 function stopDrawing(){
23 painting = false;

Callers

nothing calls this directly

Calls 1

drawFunction · 0.85

Tested by

no test coverage detected