Triggers/Events/Mouse Moved

From SC2Mapster Wiki
Jump to: navigation, search

UI-Input

Mouse Moved

GUI

UI - Player player moves mouse.

Galaxy Code

void TriggerAddEventMouseMoved (trigger t,int player)

Description

Only register for this event when you absolutely need it, as it will generate network traffic from all players for every mouse move they make. This event fires when a player moves themouse. Use "Mouse Moved UI Pos X" and "Mouse Moved UI Pos Y" to get the UI X,Y position where the player moved the mouse. Use "Mouse Moved World Pos X", "Mouse Moved World Pos Y", and "Mouse Moved World Pos Z" to get the X,Y,Z world position where the player moved the mouse.

Parameters