Studio Yotsuba
Back to Node List

Wrap Offset

wrap_offset

Move an image while wrapping pixels around the canvas edges.

Reviewed
Guide available

Input Ports

NameTypeDescription
Image
input
Image
Required
Input image.

Output Ports

NameTypeDescription
Image
output
Image
Offset image with wrapped edges.

Parameters

NameTypeDefaultRangeDescription / Options
Offset X
offset_x
Int
0-4096–4096

Horizontal movement in pixels.

Offset Y
offset_y
Int
0-4096–4096

Vertical movement in pixels.

Wrap X
wrap_x
Bool
true—

Wrap pixels horizontally instead of clipping them.

Wrap Y
wrap_y
Bool
true—

Wrap pixels vertically instead of clipping them.

Overview

Moves an image and wraps overflow around from the opposite side. Its two main jobs are checking seams in tile assets and creating infinite scrolling.

Usage tips

  • An essential tile-production check is to offset by half the dimensions (offset = width/2). This moves seams to the center, where discontinuities are immediately visible. Use it with tile_preview.
  • For scrolling animation, promote offset_x to an input pin 📌 and connect time_source to make the background flow endlessly. Advance by exactly one full width per loop (offset=width) for a seamless cycle.
  • Use transform for ordinary translation where overflow disappears. This node is for movement that wraps.

Related nodes

  • tile_preview — arrange tiles to inspect seams (use them together)
  • transform — ordinary translation without wrapping
  • time_source — drive scrolling
  • animation_render — bake scrolling animation

Where it helps

  • Move the seams of a tile asset to the center for inspection.
  • Make offsets before and after seamless processing easier to see.
  • Use wraparound instead of transparent gaps for translational movement.

Technical details

The output dimensions match the input image. On axes where wrap_x / wrap_y is enabled, source coordinates are taken modulo the image dimensions to wrap them to the opposite side.

Back to Node List