Skip to content

jump

Flow Control

Conditionally jump to another statement.

Syntax

jump 0 notEqual x false

Parameters

ParameterTypeDefaultValues
destIndexint—
opConditionOpnotEqual
  • equal ==
  • notEqual not
  • lessThan <
  • lessThanEq <=
  • greaterThan >
  • greaterThanEq >=
  • strictEqual ===
  • always always
valuevaluex—
comparevaluefalse—

Data taken from Mindustry v160.4 by the project generators.

Unofficial fan project, not affiliated with Anuke. Mindustry sprites, fonts and translations © Anuke, used under GPL-3.0; Fira Code under OFL-1.1. Site code is GPL-3.0.