Triggers/Events/Mouse Moved

From SC2Mapster Wiki
Jump to: navigation, search

UI-Input[edit | edit source]

Mouse Moved[edit | edit source]

GUI[edit | edit source]

UI - Player player moves mouse.

Galaxy Code[edit | edit source]

void TriggerAddEventMouseMoved (trigger t,int player)

Description[edit | edit source]

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[edit | edit source]