Skip to content

setprop

Worldworld processor only

Sets a property of a unit or building.

Syntax

setprop @copper block1 0

Parameters

ParameterTypeDefaultValues
typevalue@copper
ofvalueblock1
valuevalue0

Which properties exist and what answers them — in the sensor property table.

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.