Go to the Settings panel of Chrome Developer Tools by clicking the cog on the bottom right. Does John the Baptist's witness imply the pre-incarnate existence of Jesus? In this article I will be showing you how to use this feature to start debugging your canvas work. As you build up your system of persistent objects you'll almost certainly want to include a lot of debug code that outputs easy to understand lists of objects and their coordinates. Can salt water be used in place of antifreeze? For the changes to take effect, you need to close and reopen DevTools (you can use Alt+R or Option+R, a handy alternative). I have moodle 3.6.3. For a brief animation that occurs in response to a user event, you may need to capture consecutive frames. I updated your question. FAQ. rev 2021.2.23.38634, Stack Overflow works best with JavaScript enabled, Where developers & technologists share private knowledge with coworkers, Programming & related technical career opportunities, Recruit tech talent & build your employer brand, Reach developers & technologists worldwide. I've written A Gentle Introduction to Making HTML5 Canvas Interactive, and no doubt if you search you'll find other tutorials. Inside the frame you will see draw call groups. As many have done, you can keep track of what you draw on a Canvas in order to have persistent objects for redrawing. Working with a canvas usually involves a long and difficult-to-follow list of calls: Sometimes you want to capture the instructions sent to a canvas context and step through them one by one. When hovering and clicking design elements on the canvas, Inspect selects the parent group by default. Whenever I hover the elements while inspecting, only the