# Method: handsfree.hideDebugger()


Hides the debugger (the element containing the webcam feed and model canvases) and adds body.handsfree-hide-debugger. You can then use one of the debugger helper classes to automatically show or hide other elements based on this state:



# Example

Here's an example of implementing debugger on/off buttons:

  <button class="handsfree-show-when-not-debugging" onclick="handsfree.showDebugger()">
    Show Debugger
  <button class="handsfree-show-when-debugging" onclick="handsfree.hideDebugger()">
    Hide Debugger

# See Also

Last Updated: 12/30/2020, 12:17:40 PM