Runs the script when the screen is touched.

The difference to the block "When tapped" is that "When stage is tapped" applies to the entire screen, while "When tapped" is specific to individual sprites or objects, .

When_stage_is_tapped_btn.png

Example

Touch the screen and your object will move 20 steps.

When_stage_is_tapped.png

Result

Download

When screen is touched Result