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

From Lavish Software Wiki
Jump to navigation Jump to search
Line 28: Line 28:
 
* [[LavishScript:Data Types|LavishScript Data Types]]
 
* [[LavishScript:Data Types|LavishScript Data Types]]
 
* [[IS:Session#Data_Types|Inner Space Session Data Types]]
 
* [[IS:Session#Data_Types|Inner Space Session Data Types]]
 +
 +
{{DT-Stub}}

Revision as of 07:16, 28 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
  • SetPosition[x,y]: Sets the mouse position

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