第21步:使用另一个 if 以测试 name 是否等于"cat"。
如果英雄与你的 "cat"相撞,则设置以下指令运行:
- 使用 Sprite Gravity Off 关闭 sprite 的重力。
- 让 sprite Go To (0, 50) 并且 Say "I did it!"。
- 让 hit_sprite Say "My hero!"。
To navigate the page using the TAB key, first press ESC to exit the code editor.