Documentation

Unity Engine


User Manual

Script Reference

Unity Engine


Mouse6

Additional (or seventh) mouse button.
Read time 1 minuteLast updated 5 days ago

Definition

  • Type: Field
  • Namespace: UnityEngine
  • Assembly: UnityEngine.CoreModule
Mouse6 = 329

Remarks

Use this for detecting mouse button presses. The “6” mouse button is the seventh button on the user’s mouse if this additional button exists. Unity defines this as the sixth mouse button because the mouse button numbering begins at 0.