Archive.png This article or section documents something not included in the current version of Scratch (3.0). It is only useful from a historical perspective.
Document stub.png This article is a stub. It may be incomplete, unfinished, or have missing parts/sections. If the article can be expanded, please do so! There may be suggestions on its talk page. (June 2023)
Not to be confused with Ask () and Wait (block).
Ask () to
30 Jun 03 ask () to block.png
Category Control
Type C
Introduced in Scratch 30Jun03
Removed in Scratch 11Oct03

The Ask () to block was a C block and Control block. This block allowed users to do something with a sprite with the code in a different sprite. This was likely the prototype for broadcasting. It was removed for unknown reasons in 11Oct03.

Replication

Alonzo (vector).svg This article or section uses images made with Snap!, a Scratch Modification which allows script formatting. Differences include block multilining and zebra coloring.

This behavior can be replicated in Scratch 3.0 and 2.0 by using a broadcast message. For example, one could put this in Sprite2:

when I receive [Sprite2 move 10 steps v]
move (10) steps

And then one could put this in Sprite1.

define ask Sprite2 to move 10 steps
broadcast (Sprite2 move 10 steps v)

Using these blocks, one can make code in one sprite trigger code in another.

This behaviour can be replicated in Snap! through the Snaptellspritetocmd.png block.

Cookies help us deliver our services. By using our services, you agree to our use of cookies.