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.

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 an Apps Script and LayerPanel.html file that 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, Code.gs, LayerPanel.html, appsscript.json, and the settings JSON.

Form input fields

Menu display language

Language used for the Google Slides menu and layer panel.

Sidebar auto-refresh interval

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

Setup steps

1

Open Apps Script from Google Slides

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

2

Paste Code.gs

Paste the generated Code.gs into Apps Script. Back up existing code before replacing it.

3

Create LayerPanel.html

Create an HTML file named LayerPanel and paste the generated LayerPanel.html content.

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

Save and reload Google Slides

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

6

Open the layer panel

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

Save the implementation guide

After generation, 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.

What the guide includes

The setup method, post-setup review points, generated script, settings JSON, and config hash are collected in one document. The setup method starts with a note that the generated script appears later in the guide.

Available formats

Choose Markdown (.md), Word (.docx), or the PDF save view.

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