() mouse button down?

From PenguinMod Wiki (Official)
Revision as of 23:46, 10 September 2024 by Steve0Greatness (talk | contribs)
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)

() Mouse button down?
Jump to navigation Jump to search

This article is about the Sensing Expansion block that lets you define which mouse button you'd like to detect. For the default Scratch block, see Mouse down?.

() mouse button down? is a boolean block from Sensing Expansion which allows you to specify which mouse button you'd like to check if the user is holding down. In this way, it differs from mouse down?, as that block only lets you detect is a mouse button is down at all.

Dropdown Values

Diagram displaying the 3 mouse buttons labeled for the extension

The dropdown can has 3 possible values:

  • (0) primary, detects the left mouse button (sometimes called "mouse 1")
  • (1) middle, detects the middle mouse button (sometimes called "mouse 3")
  • (2) secondary, detects the right mouse button (sometimes called "mouse 2")

TurboWarp Blocks

This block used be part of TurboWarp Blocks.