← TOOLS

Sprite Editor

CUSTOM COLOR
FPS 8

TITLE
EXPORT THIS ANIMATION
LOG AS TODAY'S GAME

Counts toward your 30/day target on the tracker.

USING A SEAMLESS TILE

Import the PNG, then on the material/texture set Wrap Mode: Repeat (both U and V). That's what actually makes it tile edge-to-edge in Lens Studio — the export itself is just the one tile.

LENS STUDIO SNIPPET
// @input Asset.Texture spriteSheet // @input Component.Image target var frame = 0, elapsed = 0; var atlas = /* paste the downloaded .json here, or load as a Text Asset */ null; script.createEvent("UpdateEvent").bind(function(e){ if (!atlas) return; elapsed += getDeltaTime(); if (elapsed >= 1 / atlas.fps) { elapsed = 0; frame = (frame + 1) % atlas.frames.length; var f = atlas.frames[frame]; // set target's texture UV offset/scale to (f.x/atlas.sheetWidth, f.y/atlas.sheetHeight, // f.w/atlas.sheetWidth, f.h/atlas.sheetHeight) — exact API depends on your material setup if (!atlas.loop && frame === atlas.frames.length - 1) script.removeEvent(e); } });
ATLAS PREVIEW
Draw a pixel to see the export preview.