Eng:Right Mouse Detection

This tutorial shows you how to detect if the right mouse is down in Scratch 1.4.

Script
The When Clicked block fires either when the item is clicked with the left mouse button or the right mouse button. The Mouse Down? block, however, only reports true if the left mouse button is down.

Add this script to the Stage: when Stage clicked if  set [mouse v] to [left] else set [mouse v] to [right] end

You now have a script that will detect if the right mouse button is clicked.

Example Uses

 * Adding a hidden menu
 * Making Operating System projects more realistic