Welcome to mirror list, hosted at ThFree Co, Russian Federation.

bge.types.SCA_PythonMouse.rst « bge_types « rst « python_api « doc - git.blender.org/blender.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
blob: 5dfa78d39428e2bea3babeaeaf71082137aa64f8 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
SCA_PythonMouse(PyObjectPlus)
=============================

.. module:: bge.types

base class --- :class:`PyObjectPlus`

.. class:: SCA_PythonMouse(PyObjectPlus)

   The current mouse.

   .. attribute:: events

      a dictionary containing the status of each mouse event. (read-only).

      :type: dictionary {:ref:`keycode<mouse-keys>`::ref:`status<input-status>`, ...}

   .. attribute:: active_events

      a dictionary containing the status of only the active mouse events. (read-only).

      :type: dictionary {:ref:`keycode<mouse-keys>`::ref:`status<input-status>`, ...}
      
   .. attribute:: position

      The normalized x and y position of the mouse cursor.

      :type: tuple (x, y)

   .. attribute:: visible

      The visibility of the mouse cursor.
      
      :type: boolean