GetMouseMovement

From GECK
Jump to: navigation, search


A function added by the SUP NVSE Plugin.

Description

Returns current mouse movement(only in menumode).

Syntax

[help]
GetMouseMovement fPosX:float fPosY:float iRequest:int

Example


float fMovementX
float fMovementY

GetMouseMovement fMovementX fMovementY 0

Will output mouse movement to fPosX and fPosY script variables.

Requests

0 - Current mouse movement;
1 - Last mouse movement;

Notes

  • This function only returns values in menumode;

See Also