Mouse Position

So, where is it?

This component implements some ctypes logic to track the mouse-position outside and in absolute values even from outside of td.
The Y-Axis is somewhat inversed....

Parameter:
  • Active: If this should update every frame.

Metods:
  • Get_Mouse_Position(): Returns the absolute mouseposition in pixels.
  • Get_Screen_Index( x, y) Returns which screen has the given pixel-pair.

Attributes:
  • X: The X-Position. Dependable.
  • Y: The Y-Position. Dependable
  • Screen: The Index of the screen currently selected. Dependable.

Outputs:
  1. chop_data: The data as Chops.
  2. The screen data with propper inverted Y-Axis.

Downloads: 225

Created at: 2.3.2021

Uploaded: 3.3.2021
System now aligned with TD-Choordiante system ( source is bottom contrary to windows top is source)
Download