cock.getMouseFactor

Gets horizontal and vertical mouse factor. You can access these values directly, see etc.mouse.* fields.

Synopsis

Function

x, y = cock.setMouseFactor ( self )

Arguments

table self
An object to use.

Returns

number x
Scaling factor by X axis.
number y
Scaling factor by Y axis.

See also