Page 98 - ThinkGPT_V2.1_C6_Flipbook
P. 98

Creating a Conversation Between Two Sprites in MakeCode Arcade

                  To create a simple interaction between two sprites in MakeCode Arcade, Follow the given steps:


                           1   Click on the Sprites
                          blocks category.




























                    2   Drag the set to
                   sprite of kind block                                                         3   Click on the image
                   from Sprites block                                                          icon and select the
                   category and drop it                                                        sprite you want  to
                   inside the on start                                                         add  from  Gallery.
                   block.


                                                       5   Change the position of mySprite x axis from 0 to 43 and

                                                      y axis from 0 to 48.















                     4   Drag the set position block from Sprites block category and
                    drop it below the set to sprite of kind block.











                       96    Premium Edition-VI
   93   94   95   96   97   98   99   100   101   102   103