SiliconGhetto Engine API
    Preparing search index...

    Function mouseButton

    • Check if a mouse button is currently pressed.

      Parameters

      • btn: number

        Button index (0 = left, 1 = middle, 2 = right)

      Returns boolean

      True if the button is held down