# Runtime instance inspector for GMS1 ![Demo](./readme-images/demo.gif) ## Setup 1) Add the files in the right order: objDebugList first, everything else after 2) Call scrDebugInspectorInitialize with the name of the global for determining whether the game has been started as the first parameter example: ``` scrDebugInspectorInitialize("gameStarted", true); ``` 3) Run the game and click on the screen - Middle mouse button brings up a searchable list of instances in the room - Left mouse button will inspect all objects under the cursor - Right mouse button will quit out of the currently open lists ## Other setup The other two arguments for the initialization function are optional but nice to have. - `debug_key`: Sets a keyboard key that must be held before its possible to bring up the inspector using mouse buttons - `font`: Font to use instead of the default font. Monospace works best.