Overview
Extracts one frame at a specified index from a spritesheet. Unlike playback with
sprite_sheet_playback, it has no concept of time; it simply returns the Nth image.
Use it to process, compare, or export a particular frame.
Usage tips
- Its main use is static extraction, such as using only the second frame of a walk animation as an icon, or selecting one frame to recolor.
- Connect
indextoint_inputfor manual selection, or combine it with list processing to process every frame in a batch. - Out-of-range indices are clamped to the first or last frame and do not cause an error.
indexis zero-based: the first frame is 0 and the second is 1.
Related nodes
sprite_sheet_playbackâ time-based playbacksprite_sheet_infoâ entry point for an external sheet imagesprite_sheet_packâ reverse operation, from an image list to a sheet
Examples
- Connect the
spritesheetfromKeyframeClip,AnimationRender,SpriteSheetPack, orSpriteSheetInfo. - Feed
indexfromIntInputor the result ofListGet. - Pass the
imageoutput to other image nodes.
Additional notes:
- An out-of-range
indexis clamped to the first or last frame. - The
frame 2/Ntext insummaryis one-based for people; theindexoutput remains zero-based. SpriteSheetFrameGetdoes not accept a rawImage. When starting from an external image, pass it throughSpriteSheetInfofirst.