Difference between revisions of "cock.getMouseFactor"
m |
m |
||
Line 1: | Line 1: | ||
Gets horizontal and vertical mouse factor. You can access these values directly, see [[Common Organization of Controls Kit Fields|etc.mouse.*]] fields. | Gets horizontal and vertical mouse factor. You can access these values directly, see [[Common Organization of Controls Kit Fields|etc.mouse.*]] fields. | ||
− | == | + | == Function == |
− | === | + | === Synopsis === |
<source lang="Lua">x, y = cock.getMouseFactor ( self )</source> | <source lang="Lua">x, y = cock.getMouseFactor ( self )</source> | ||
=== Arguments === | === Arguments === |
Latest revision as of 15:05, 2 September 2013
Gets horizontal and vertical mouse factor. You can access these values directly, see etc.mouse.* fields.
Function
Synopsis
x, y = cock.getMouseFactor ( self )
Arguments
table self
- An object to use.
Returns
See also
- cock.setMouseFactor
- Common Organization of Controls Kit Fields
- Common Organization of Controls Kit Manual
- Common Organization of Controls Kit