OptionaldockOptionallockedA node whose enabled checkbox, and those of its ancestors, are withheld. A script hosting the inspector passes its own entity so the panel cannot switch itself off. Defaults to null.
OptionalonCalled with the new visibility whenever the panel is shown or hidden, whether through Inspector#visible, the toggle key or the panel's own close button.
OptionalpauseThe key that pauses and resumes the app. Defaults to 'F9'.
OptionalstepThe key that advances one frame while paused. Defaults to 'F10'.
OptionalstorageThe local storage key the panel's settings are kept under, so they survive a reload or a restart of the app: the physics drawing switch and options, the bodies excluded from it (by entity path), the active tab, the panel width and the GPU timings switch. Stored settings take precedence over the defaults given here. Defaults to 'pc-inspector'; null keeps nothing.
OptionaltoggleThe KeyboardEvent.code or key that shows and hides the
panel. Defaults to 'Backquote'. Empty disables the key.
OptionaltopA gap left above the panel in CSS pixels, to keep it clear of other overlays. Defaults to 0.
OptionalvisibleWhether the panel starts shown. Defaults to true.
OptionalwidthThe width of the docked panel in CSS pixels. Defaults to 420.
The side of the viewport the panel docks to. Defaults to 'right'.