Studio Yotsuba
Back to Node List

Output Pin

output_pin

Defines an output port for a custom node

Reviewed
Guide available

Input Ports

NameTypeDescription
Value
value
Any
Required
The value to output from the custom node

Parameters

NameTypeDefaultRangeDescription / Options
Pin ID
pin_id
Text
——

Stable identifier of this output port.

Port Name
pin_name
Text
output—

Name of this output port (visible on the custom node exterior)

Port Type
port_type
Enum
Image—

Type of this output port

  • ImageImage
  • NumberNumber
  • FloatFloat
  • IntInt
  • ColorColor
  • BoolBool
  • TextText
  • Vec2Vec2
  • Vec3Vec3
  • OklchAdjustOklchAdjust
  • PalettePalette
  • ListList
  • PathPath
  • PixelLinePixelLine
  • SolidSolid
  • MapMap
  • TextLayoutTextLayout
  • PixelPatchPixelPatch
  • IndexedImageIndexedImage
  • IsoItemIsoItem
  • IsoSceneIsoScene
  • IsoWorldIsoWorld
  • AsepriteFileAsepriteFile
  • AnimationClipAnimationClip
  • RuleGridSpecRuleGridSpec
  • RuleTileSetRuleTileSet
  • RuleTileAssetRuleTileAsset
  • RuleSetRuleSet
  • RuleCanvasRuleCanvas
  • RuleResolvedRuleResolved
  • RuleTileAtlasRuleTileAtlas
  • TileAssetTileAsset
  • TilePaletteTilePalette
  • TileCanvasTileCanvas
  • TileResolvedTileResolved
  • NineSliceNineSlice
  • RegionMapRegionMap
  • RecordedLayerRecordedLayer
  • SpriteSheetSpriteSheet
  • FxState2DFxState2D
  • VariantSnapshotVariantSnapshot
  • VariantRecipeVariantRecipe
  • VariantRecordVariantRecord
  • SurfaceSurface
  • SurfaceGeometrySurfaceGeometry
  • ModelModel
  • PbrMaterialPbrMaterial
  • TangentNormalTangentNormal
  • TextureLayoutTextureLayout
  • ProceduralPaletteRecipeProceduralPaletteRecipe
  • AudioBufferAudioBuffer
  • AutomationCurveAutomationCurve
  • AnyAny

Overview

A special node that defines an output from a custom node (a subgraph turned into a node). Place it inside a custom node to expose one output port on the outside. Together with input_pin, it forms the custom node's input/output interface.

Usage tips

  • Connect the completed value from the internal graph to the value input; it is then emitted from the external output port.
  • pin_name / port_type determine the port's appearance and connection compatibility outside. Match them to the type of the value connected internally.
  • Place multiple Output Pin nodes to give a custom node multiple outputs (for example, both an image and a mask).

Related nodes

  • input_pin — its input-side counterpart (use them together)
  • bake_subgraph / snapshot_node — caching nodes related to custom-node workflows
Back to Node List