KOKOCAL SCRIPT

Guide

Google Slides Layer Panel Standard Guide

A guide for adding a lightweight current-slide layer panel to Google Slides with Apps Script.

Published: Aug 4, 2026Updated: Aug 6, 2026
Current slide only

Keep the panel lightweight by listing objects on the slide you are currently editing.

Layer operations

Select objects, move them forward or backward, rename layers, and temporarily hide objects.

API-aware design

Use manual refresh and lock assistance within the limits of Google Slides APIs.

What this generator is for

This generator creates Apps Script files and KOKOCAL_SlidesLayerPanelView.html, which add a layer panel to Google Slides.

The standard edition focuses on the current slide for better responsiveness.

The implementation guide includes setup steps, review points, KOKOCAL_Menu.gs, KOKOCAL_SlidesLayerPanel.gs, KOKOCAL_SlidesLayerPanelView.html, appsscript.json, and the settings JSON.

Display language and refresh interval

Menu display language

Language used for the Google app menu and dialog or panel.

Sidebar auto-refresh interval

For best responsiveness, manual refresh is recommended. Auto refresh can feel slower when slides have many objects.

Layer operations available after setup

Current slide list

List objects on the currently edited slide for lightweight operation.

Layer order

Select objects and move them forward, backward, to front, or to back.

Editing assistance

Rename layers, temporarily hide objects, filter by type, and use lock assistance within API limits.

Setup steps

1

Open Apps Script from Google Slides

Open the target Google Slides file, then open Apps Script from Extensions.

2

Create KOKOCAL_Menu.gs and KOKOCAL_SlidesLayerPanel.gs

Create KOKOCAL_Menu.gs and KOKOCAL_SlidesLayerPanel.gs in Apps Script, then paste the generated content into each file. Back up existing code before editing it.

3

Create KOKOCAL_SlidesLayerPanelView.html

Create an HTML file named KOKOCAL_SlidesLayerPanelView and paste the generated KOKOCAL_SlidesLayerPanelView.html content. Do not use the same base name as KOKOCAL_SlidesLayerPanel.gs.

4

Review appsscript.json

If the manifest is shown, review the generated appsscript.json content. In most cases the default project settings can be used as-is.

5

Run KOKOCAL_SlidesLayerPanel_setup manually

Select KOKOCAL_SlidesLayerPanel_setup from the function dropdown in Apps Script and run it to complete the first authorization. Do not run onOpen manually.

6

Save and reload Google Slides

Save the Apps Script project, then reload Google Slides so the KOKOCAL menu appears.

7

Open the layer panel

Open the layer panel from the KOKOCAL menu. Grant authorization if Google asks for it.

Save the implementation guide

After generating the script, use Download setup guide at the top right of the generated result column to save the information needed for setup. Generated results disappear when you leave the page, so saving the guide before setup is recommended.

Post-setup review points

1

Current-slide layer list

Confirm that objects on the current slide, such as text, shapes, images, and lines, appear in the layer panel.

2

Select and reorder

Confirm that select, bring to front, bring forward, send backward, and send to back are reflected in Google Slides.

3

Temporary hide and show

Confirm that temporary hide can organize the editing view. This does not guarantee complete hiding during slideshow playback.

4

Rename layers

Rename a layer, refresh the panel, and confirm that the new name is shown.

5

Lock assist

Select multiple objects including a locked object, refresh the panel, and confirm that the locked object is removed from the active selection.

6

Type filters

Switch filters such as Text, Shape, and Image, then confirm that the selected effect scope changes the panel or editing view as intended.

Notes

Current slide only

The standard edition is designed for lightweight operation on the current slide. After moving to another slide, refresh the panel.

Temporary hide is editing assistance

Temporary hide is for organizing the editing view. It does not guarantee complete hiding or access control during slideshow playback.

Lock is operation assistance

Due to Google Slides API limitations, true edit locking is not available. Use this as assistance to remove locked objects from selection.

Google Slides API limitations

Slide changes and editor-side selection changes cannot be detected in real time. Use refresh when you need to reload the current state.

Back up before use

Before changing order or temporarily hiding objects, make a copy of important slides.

Ready to generate the script

Add a lightweight layer panel for the current slide to select, reorder, temporarily hide, rename, and assist with locked objects.

Open generator