Right Mouse Detection: различия между версиями
Материал из Поле цифровой дидактики
Patarakin (обсуждение | вклад) м (1 версия импортирована) |
Patarakin (обсуждение | вклад) |
||
Строка 1: | Строка 1: | ||
{{Scripting Tutorials | |||
|Field_of_knowledge=Game design | |||
}} | |||
{{obsolete feature}} | {{obsolete feature}} | ||
'''Right mouse detection''' was possible in [[Scratch 1.x]] in [[Presentation Mode|presentation mode]] which allowed [[Scratch]] to detect if the right mouse button was being pressed. | '''Right mouse detection''' was possible in [[Scratch 1.x]] in [[Presentation Mode|presentation mode]] which allowed [[Scratch]] to detect if the right mouse button was being pressed. |
Текущая версия на 10:05, 11 ноября 2023
Описание | |
---|---|
Область знаний | Game design |
Область использования (ISTE) | |
Возрастная категория |
|
Поясняющее видео | |
Близкие рецепту понятия | |
Среды и средства для приготовления рецепта: |
Шаблон: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:
when stage clicked if <not<mouse down?>> 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
- Adding a hidden menu
- Making operating system projects more realistic