System/GetWindowMouse

From Blue Mars Developer Guidebook

Jump to: navigation, search
There are security restrictions on this article


This is a System function

Contents

Overview

Function

GetWindowMouse()
current position of mouse in window coordinates
return value - int x position of mouse
return second value - int y position of mouse
by Avatar Reality

Usage

This function returns the current position of the mouse with respect to the client region of the window. In the Sandbox Editor, the y-position of the mouse is offset, but should be correct in-game.

Examples

Problems with this wiki page? Contact us either by: Support Email or Support Ticket System

Blue Mars Guidebook Privacy Policy
Blue Mars Guidebook Community Guidelines

Personal tools