(Changed to "Example Uses")
(Added a "see also" bit.)
Line 16: Line 16:
 
*When a scene must be set
 
*When a scene must be set
 
*Effective communication with scripts or [[Sprite|sprites]]
 
*Effective communication with scripts or [[Sprite|sprites]]
 +
==See also==
 +
*[[Broadcast () (block)|Broadcast ()]]
 +
*[[Broadcast () and Wait (block)|Broadcast () and Wait]]
 
{{Control Blocks}}
 
{{Control Blocks}}
 
[[Category:Control Blocks]]
 
[[Category:Control Blocks]]

Revision as of 04:40, 16 November 2010

When I Receive ()
When I Receive ().png
Category Control
Type Hat

The When I Receive () block is a Control block and a Hat block. Scripts that wear this block will activate once the specified broadcast has been sent.

Example Uses

Broadcasts are used to activate scripts at certain times - for scripts to activate once the broadcast is sent, those scripts must wear the When I Receive () block. Some common uses are:

File:Disabling a project.png

  • When a button on the menu is clicked, all the other buttons must disappear
  • When a scene must be set
  • Effective communication with scripts or sprites

See also