Skip to content

Class Documentation

Edit documentation

A block that sets one bit of an int variable. The block reads the int in BitField, sets bit BitIndex (value 1 << BitIndex), and writes the result back to BitField. ClearBit clears a bit, and IsBitSetCondition tests one.

BitIndex must be 0 to 31. Another value, including a negative value, records a script error, and the block writes nothing.

Properties