Fix for Ghost layers and other hidden scripts

I saw a “ghost” layer for the first time recently and recalled that there was a fix somewhere in the community, but I can’t find it. I just remember that you need to write a name of a hidden script in Quick actions.

  1. If you know the fix for ghost layers, please write it in comments.
  2. If you know where to check all the hidden scripts, or you have a collection, please share.
1 Like

Figma has a hidden script that forces itself to “clear out” pesky ghost layers that may be artificially bloating your file. It’s hidden in the Quick actions menu.
To run this script, open the Quick actions menu and search for “Compute publish statuses of soft deleted components”.