GetNumMouseButtonsPressed

From the Oblivion ConstructionSet Wiki
Jump to navigation Jump to search

A command for Oblivion Script Extender

Syntax:

(count:long) GetNumMouseButtonsPressed

Returns the number of mouse buttons pressed.

Notes[edit | edit source]

  • This function will count mouse buttons disabled with DisableKey or DisableControl.
  • While a MessageBox is being displayed, the left mouse button won't be counted, presumably because its input is switched over to the MessageBox.

See Also[edit | edit source]