Back to Node List

Int Input

int_input

Outputs a controllable integer value with presets and soft UI range

Reviewed
Guide available
The node name and summary are available in English. Port, parameter, and article details are currently shown in Japanese.

Output Ports

NameTypeDescription
output
Int
出力する整数値

Parameters

NameTypeDefaultRangeDescription / Options
value
Int
0-100000–100000

出力する整数値

範囲プリセット
range_preset
Enum
PixelOffset

よく使うソフトUIレンジのプリセット。変更時は現在値もその範囲内に収めます。

  • 正規化 0..1Normalized
    ソフトUIレンジを 0..1、ステップを 1 にします
  • 符号付き -1..1SignedNormalized
    ソフトUIレンジを -1..1、ステップを 1 にします
  • 百分率 0..100Percent
    ソフトUIレンジを 0..100、ステップを 1 にします
  • カウント 1..16Count
    ソフトUIレンジを 1..16、ステップを 1 にします
  • ピクセルオフセット -32..32PixelOffset
    ソフトUIレンジを -32..32、ステップを 1 にします
  • 大きいオフセット -256..256LargeOffset
    ソフトUIレンジを -256..256、ステップを 1 にします
  • カスタムCustom
    カスタムのソフトUIレンジを使います
ソフト最小
soft_min
Int
-32-100000–100000

スライダーやノブで使うソフト最小値

ソフト最大
soft_max
Int
32-100000–100000

スライダーやノブで使うソフト最大値

ソフトステップ
soft_step
Int
11–1000

スライダーやノブで使うソフトステップ

下限
clamp_min
Int
-100000-100000–100000

出力値にかける実際の下限

上限
clamp_max
Int
100000-100000–100000

出力値にかける実際の上限

スナップ刻み
step
Int
11–1000

出力値を最も近い倍数にスナップします

Overview

Supplies one integer as a constant. Use it to expose values whose integer nature matters, such as counts, steps, indices, and seeds. Use float_input when fractions are acceptable; this node is specifically for discrete values.

Usage tips

  • When several nodes share the same integer, centralize it here so one edit updates the entire graph (for example, tile size or frame count).
  • Common destinations include the index inputs of value_select, list_get, and sprite_sheet_frame_get.
  • The convenient slider range (soft_*) and actual constraints (clamp_*) are separate. Changing a preset does, however, clamp the current value into the new soft range once.

Related nodes

  • float_input — floating-point version

  • value_select / list_get — common destinations for an index

  • math_op / math_func — process integers (including converting a float to an integer with Floor)

  • version: 2

Important behavior

  • value
    • With show_on_node: true, it is always visible on the node itself.
  • range_preset / soft_*
    • These determine only the operating range of the Inspector slider / knob.
    • When you change the preset, the current value is immediately clamped into the new soft range.
  • clamp_min / clamp_max
    • These are hard clamps applied to the actual output value.
  • step
    • This is the snap step for the output value.

In other words, UI convenience and actual output constraints are handled separately.

How to use

  • New nodes start at PixelOffset (-32..32) with value = 0.
  • For counts, choose Count; the current value is also brought into 1..16.
  • When the destination is a promoted parameter, use Use destination range in the Inspector to match its soft range.
  • Tighten clamp_min / clamp_max only when you need strict constraints.
Back to Node List
Int Input — PixPipeline Node Reference