Screen Shot 2016-04-28 at 4.53.36 PM.png

When blocks allow you to tell the app to complete an argument when 'X' happens. Or in other words, when 'Y' happens 'X' follows.

For example:

When button clicks (Y) music plays (X)

When screen is touched (Y) paint is added (X)

Explore the following When blocks.

when.AfterPicture

when.Click

when.Dragged

when.Initialize

when.LongClick

when.Touched

when.Timer