CaptureMouse()

Syntax:

CaptureMouse()

Remarks:

This function causes all mouse input to go to the specified object only, until either the ReleaseMouse function is called or another object captures the mouse. For example, if an object has captured the mouse input, actions such as left-click, right-click or rollover will have no effect until the ReleaseMouse function is set. No parameters are required.

image\Script_Button.jpgExamples