Bool Value Change

The Bool Value Change operation sets, resets, and toggles a single bit of data. You cannot use expression on this operation.

Block

Text

OBJECT = true;
  2      1

1: Operation

2: Object

(Example 1)

Consider that the BOOL1 value is False. Configure the following block in the Script editor.

Variable block Operation
Set the variable BOOL1 in the variable block. [Set]
Block
Text

BOOL1 = true;

→ The BOOL1 variable is set to True when the trigger occurs.

(Example 2)

Consider that the BOOL1 value is True. Configure the following block in the Script editor.

Variable block Operation
Set the variable BOOL1 in the variable block. [Toggle]
Block
Text

BOOL1 = !BOOL1;

→ The BOOL1 variable is set to False when the trigger occurs. The BOOL1 value inverts between true and false each time.