---
title: "Import a sprite sheet into Godot 4"
description: "Drop the PNG into your project, check Mipmaps and Compress Mode in the Import dock, then cut the grid with Hframes and Vframes or SpriteFrames."
canonical: https://appliedmanifold.com/guides/godot-import-sprite-sheet/
site: "Applied Manifold: The spatial compute cloud for 3D reality"
---

1.  [Home](https://appliedmanifold.com/)
2.  [Guides](https://appliedmanifold.com/guides/)
3.  Import a sprite sheet

GUIDE // GODOT 4

# How to import a sprite sheet into Godot 4

Copy the PNG into your project folder and Godot imports it as a texture by itself. In the Import dock, keep mipmaps on for effects seen at a distance and choose a compression mode. Then tell the node how the sheet is cut, with Hframes and Vframes on a Sprite3D or the sprite sheet tool in SpriteFrames.

[Get Free API Key](https://console.appliedmanifold.com/sign-in?next=/api-keys) [See the examples →](https://appliedmanifold.com/docs/pyrofx/examples/)

-   **Godot 4** Available
-   Unity Manual setup
-   Unreal Engine Manual setup
-   Roblox Studio Manual setup
-   three.js Available

A draft compile is from $0.05, and new accounts start with $5 of usage.

**SMOKE\_PLUMEFINAL**

![First frame of the smoke\_plume bake](/bakes/smoke_plume/poster.webp)

Smoke plume, 7.0 x 10.8 m, compiled with Spatial Compiler. [Spec →](https://appliedmanifold.com/docs/pyrofx/examples/#ex-smoke_plume)

01 // HOW TO

## Import and slice the sheet

1.  Copy the PNG into a folder inside your project, such as `res://fx/smoke/`. Godot writes a `.import` file next to it.
2.  Select the PNG in the FileSystem dock and open the Import dock.
3.  Set Compress Mode to Lossless while you judge the look. Try a compressed mode later and compare the soft edges.
4.  Turn on Mipmaps > Generate for sheets used in 3D, then click Reimport.
5.  For a `Sprite3D`, load the texture and set Hframes and Vframes to the grid, then pick the frame with Frame.
6.  For an `AnimatedSprite3D`, open its SpriteFrames, click Add Frames from Sprite Sheet and enter the same grid.
7.  For particles, use the sheet on a `StandardMaterial3D` with Particle Billboard and Particles Anim H Frames and V Frames.

02 // SETTINGS

## Import settings that matter for effects

-   Fix Alpha Border (on by default) fills the color of transparent pixels from their neighbors, which stops dark fringes at soft edges.
-   Detect 3D can switch a texture to a compressed mode the first time a 3D material uses it. Set the mode yourself so it stays the way you chose.
-   Texture filtering lives on the material in Godot 4, under Sampling > Filter, not in the Import dock. Linear Mipmap suits soft effects.
-   Keep the sheet a power of two on each side, such as 1024 or 2048, so mipmaps and compression divide it cleanly.

03 // WITH SPATIAL COMPILER

## Let your agent set the import options

When your agent wires a compile into a Godot 4 project, it sets the texture import settings for each sheet and writes the scene that uses them, so you can skip the by-hand import steps. Each sheet is 2048 x 2048 by default, 64 frames of 256 px on an 8 x 8 grid.

Put the output folder inside your project before wiring, since the scene refers to the sheets by their `res://` paths.

04 // REAL OUTPUT

## Sheets as they import

**DUST\_RINGFINAL**

![First frame of the dust\_ring bake](/bakes/dust_ring/poster.webp)

Dust ring, 10.5 x 2.2 m, compiled with Spatial Compiler. [Spec →](https://appliedmanifold.com/docs/pyrofx/examples/#ex-dust_ring)

05 // RELATED

## Related pages

-   [Sprite sheetA sprite sheet packs many frames into one image, so your engine loads a single texture and plays the frames in order.](https://appliedmanifold.com/learn/sprite-sheet/)
-   [Smoke sprite sheetThe looping smoke plume and one-shot smoke column as sprite sheets that relight in Godot 4 and play by hand in other engines.](https://appliedmanifold.com/effects/smoke-sprite-sheet/)
-   [Flipbook on GPUParticles3D Godot 4Set up a GPUParticles3D, ParticleProcessMaterial and Particle Billboard material so each particle in Godot 4 plays a flipbook sheet.](https://appliedmanifold.com/guides/godot-flipbook-gpuparticles3d/)
-   [Import a flipbook in Unity UnityBring a PNG fire or smoke flipbook into Unity with the right import settings and a single RGBA texture for the particle material.](https://appliedmanifold.com/guides/unity-import-flipbook/)
-   [Import a sprite sheet in UE5 Unreal EngineImport PNG fire and smoke sprite sheets into Unreal Engine 5 with the right texture settings for a Niagara material.](https://appliedmanifold.com/guides/unreal-import-sprite-sheet/)
-   [Import a flipbook in Roblox Roblox StudioUpload a fire or smoke flipbook to Roblox Studio as one 1024 px RGBA image and assign it to a ParticleEmitter.](https://appliedmanifold.com/guides/roblox-import-flipbook/)
-   [Bake and wireCall `bake` with a `.pyro.toml` spec and an output folder, then `wire` to write a Godot 4 scene with the six-way shader. `check`, `schema` and `sweep` support the loop.](https://appliedmanifold.com/docs/pyrofx/bake-and-wire/)

[All pages in Guides →](https://appliedmanifold.com/guides/)

[← Drive an effect from code](https://appliedmanifold.com/guides/godot-drive-effect-from-code/)[Explosion sound and shake →](https://appliedmanifold.com/guides/godot-explosion-sound-shake/)

06 // FAQ

## Sprite sheet import questions

[All questions →](https://appliedmanifold.com/faq/)

**README.GODOT\_IMPORT\_SPRITE\_SHEET**

### How do I import a sprite sheet into Godot?

Copy the PNG into your project folder so Godot imports it automatically, then adjust settings in the Import dock and click Reimport.

### How do I slice a sprite sheet in Godot?

Leave the image intact and set Hframes and Vframes on Sprite3D or use Add Frames from Sprite Sheet in SpriteFrames.

### Should I use a sprite sheet or individual images for effects in Godot?

Use a sprite sheet because particles and flipbook materials read a single grid texture and load faster than 64 separate files.

### How do I use a dust sprite sheet with a transparent background in Godot?

Save the PNG with an alpha channel, keep Fix Alpha Border enabled in the Import dock and set Transparency to Alpha.

## Compile your first effect

You pay per compile and see the price before it runs. New accounts start with $5 of usage.

[Get Free API Key](https://console.appliedmanifold.com/sign-in?next=/api-keys) [Bake and wire →](https://appliedmanifold.com/docs/pyrofx/bake-and-wire/)

[All effects, guides and explainers →](https://appliedmanifold.com/effects/)
