A scratch application consists of just one sprite, which is the crab sprite shown belowWhen the space key is pressed, the crab begins to change depending on the position of the mouse pointer.When the mouse pointer is positioned below the crab, the crab rotates in an anti-clockwise direction with its claws closed. Once the crab faces downward, it stops rotating and its claws become bigger and open.When the mouse pointer is positioned above the crab, the crab rotates in a clockwise direction with its claws closed. Once the crab faces upward, it stops rotating and its claws become bigger and open. Watch the short video to see how the program is meant to behave. Video Player is loading.Play VideoPlayMuteCurrent Time 0:00/Duration 0:41Loaded: 100.00%0:00Stream Type LIVESeek to live, currently behind liveLIVERemaining Time -0:41 1xPlayback Rate2x 1.75x 1.5x 1.25x 1x, selected 0.75x 0.5x ChaptersChapters Descriptionsdescriptions off, selected Captionscaptions settings, opens captions settings dialog captions off, selected Audio TrackPicture-in-PictureFullscreenThis is a modal window.Beginning of dialog window. Escape will cancel and close the window.TextColor[select: White, Black, Red, Green, Blue, Yellow, Magenta, Cyan]Transparency[select: Opaque, Semi-Transparent]BackgroundColor[select: Black, White, Red, Green, Blue, Yellow, Magenta, Cyan]Transparency[select: Opaque, Semi-Transparent, Transparent]WindowColor[select: Black, White, Red, Green, Blue, Yellow, Magenta, Cyan]Transparency[select: Transparent, Semi-Transparent, Opaque]Font Size[select: 50%, 75%, 100%, 125%, 150%, 175%, 200%, 300%, 400%]Text Edge Style[select: None, Raised, Depressed, Uniform, Dropshadow]Font Family[select: Proportional Sans-Serif, Monospace Sans-Serif, Proportional Serif, Monospace Serif, Casual, Script, Small Caps]Reset restore all settings to the default valuesDoneClose Modal DialogEnd of dialog window. The code shown below is the code for the crab sprite. It is incomplete. Complete the code for the crab sprite to produce the desired effect. 1. 2. 3. 4.单项选择题

题目图片
A

a. 4

B

b. 1

C

c. 3

D

d. 2

登录即可查看完整答案

我们收录了全球超50000道真实原题与详细解析,现在登录,立即获得答案。

类似问题

更多留学生实用工具

加入我们,立即解锁 海量真题独家解析,让复习快人一步!