Color-Changing Block
Description - this toy cube can dynamically change colors
Properties
Default Color (Black|Blue|Dark Grey|Green|Grey|Light Blue|Orange|Pink|Purple|Red|White|Yellow) - sets the default color of the block
Input
Color Change - a message can be sent whenever the block changes color
Output
Restore - restore the block's color to its default from Properties
Red, Green, Blue, Yellow, Orange, Purple, Pink, Light Blue, Black, White, Grey, Dark Grey - change the block to the selected color
Random - change the block to a random color
Example
Place an Action Button and Color-Changing Block. Make a new Logic Connection from the Action Button when Pressed to send a message to the Color-Changing Block to become Blue. Push the Action Button.