Game Development Reference
In-Depth Information
2.
On the
New Block
dialog box, click inside the empty
More Block
and type
Move
Horizontally
. Expand the
Opions
tab and click on the
Add number input:
buton.
3.
Then, enter the value of
direction
for the boolean input parameter. The boolean
datatype has only two possible values:
0
(false) or
1
(true).
You should see the new
More Block
as shown in the following screenshot: