Difference between revisions of "ISKernel:mouse (Object Type)"

From Lavish Software Wiki
Jump to navigation Jump to search
 
Line 2: Line 2:
  
 
== Members ==
 
== Members ==
 +
* [[DataType:string|string]] '''System''': Name of the currently active system for mouse input (DirectInput, Win32I, HooksI)
 +
* [[DataType:int|int]] '''X''': Current mouse X position (horizontal)
 +
* [[DataType:int|int]] '''Y''': Current mouse Y position (vertical)
  
 
== Methods ==
 
== Methods ==
 +
''(these methods require Inner Space 0.74)''
 +
 +
* '''LeftClick''': Presses and immediately releases the left mouse button
 +
* '''RightClick''': Presses and immediately releases the right mouse button
 +
* '''HoldLeft''': Presses and holds the left mouse button
 +
* '''ReleaseLeft''': Releases the left mouse button
 +
* '''HoldRight''': Presses and holds the right mouse button
 +
* '''ReleaseRight''': Releases the right mouse button
  
 
== Returns ==
 
== Returns ==
 +
;Inner Space 0.74
 +
Position of the mouse, in the form X,Y, such as 0,0 or 263,475
 +
;Inner Space 0.73
 +
''(none)''
  
 
== Examples ==
 
== Examples ==
Line 11: Line 26:
 
== See Also ==
 
== See Also ==
 
* [[LavishScript:Data Types|LavishScript Data Types]]
 
* [[LavishScript:Data Types|LavishScript Data Types]]
* [[IS:Session|Inner Space Session]]
+
* [[IS:Session#Data_Types|Inner Space Session Data Types]]

Revision as of 18:11, 24 February 2005

Description

Members

  • string System: Name of the currently active system for mouse input (DirectInput, Win32I, HooksI)
  • int X: Current mouse X position (horizontal)
  • int Y: Current mouse Y position (vertical)

Methods

(these methods require Inner Space 0.74)

  • LeftClick: Presses and immediately releases the left mouse button
  • RightClick: Presses and immediately releases the right mouse button
  • HoldLeft: Presses and holds the left mouse button
  • ReleaseLeft: Releases the left mouse button
  • HoldRight: Presses and holds the right mouse button
  • ReleaseRight: Releases the right mouse button

Returns

Inner Space 0.74

Position of the mouse, in the form X,Y, such as 0,0 or 263,475

Inner Space 0.73

(none)

Examples

See Also