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

From Lavish Software Wiki
Jump to navigation Jump to search
Line 18: Line 18:
  
 
== Returns ==
 
== Returns ==
;Inner Space 0.74
 
 
Position of the mouse, in the form X,Y, such as 0,0 or 263,475
 
Position of the mouse, in the form X,Y, such as 0,0 or 263,475
;Inner Space 0.73
 
''(none)''
 
  
 
== Examples ==
 
== Examples ==

Revision as of 00:38, 27 August 2005

Description

Members

  • string System: Name of the currently active system for mouse input (DirectInput, Win32I)
  • 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
  • SetPosition[x,y]: Sets the mouse position

Returns

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

Examples

See Also