Right Mouse Detection

Материал из Поле цифровой дидактики
Версия от 00:42, 7 июня 2022; scratch>Jvvg
(разн.) ← Предыдущая | Текущая версия (разн.) | Следующая → (разн.)

Шаблон:Obsolete feature Right mouse detection was possible in Scratch 1.x in presentation mode which allowed Scratch to detect if the right mouse button was being pressed.

Script

Here is the script:

whenstageclickedifnotmousedown?then...end

How it works

The Шаблон:B block ran either when the item was clicked with any button on the mouse. The Шаблон:B block, however, only returned true if the left mouse button was down.

Example Uses

See Also

ja:右クリックを検出する方法