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
indexinputs ofvalue_select,list_get, andsprite_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 versionvalue_select/list_get— common destinations for an indexmath_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.
- With
range_preset/soft_*- These determine only the operating range of the Inspector slider / knob.
- When you change the preset, the current
valueis 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)withvalue = 0. - For counts, choose
Count; the current value is also brought into1..16. - When the destination is a promoted parameter, use
Use destination rangein the Inspector to match its soft range. - Tighten
clamp_min/clamp_maxonly when you need strict constraints.