Block Attributes
onWalking
This attribute defines the script that is executed when an entity is walking on the block. The following image shows when the different onWalking triggers are executed.

Examples
onWalking[0] = "world.createExplosion(position, 5.0, false);";