Mouse Position (LogiX node)

From Neos Wiki
Jump to navigation Jump to search
Other languages:
Mouse Position
'Mouse Position' LogiX node
Inputs
Outputs
  Float2 *

The Mouse Position node outputs the current pixel position of the mouse cursor relative to the Neos application window.

Usage

In the output Float2, the X value corresponds to the mouse horizontal position and Y corresponds to the mouse vertical position. Both values start at 0 when the cursor is at the bottom left corner of a user's Neos application window. Note that, if the mouse input is being captured by Neos, the value will correspond to the middle of the Neos window.


The output of this node is local, and thus potentially different, for each user. Hence each user only sees the value relevant to their system hardware.

Examples

Node Menu

Input Devices / Mouse
Back Desktop Mouse Position Left Mouse Button Held Left Mouse Button Released Left Mouse Pressed Middle Mouse Button Held Middle Mouse Button Released
Middle Mouse Pressed Mouse Movement Delta Mouse Position Mouse Scroll Wheel Delta Right Mouse Button Held Right Mouse Button Released Right Mouse Pressed