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

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