<

LESSON 4 - Part 1:  Graphic States, Sprites & Draw Groups

The Second Method (continued)

Add 2 more lines. These are the last two, and will return differently because we are ending the behavior.

Statement #6:

Function:  2
True line:  7
False line:  True
Param 1:  0
Param 2:  3
Param 3:  512
Param 4:  1795

Statement #7:

Function:  2
True line:  True
False line:  Error
Param 1:  0
Param 2:  3
Param 3:  1280
Param 4:  1792

Our "Set Attributes" behavior looks like this:


Fig. 1.40