# cock.setMouseFactor

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

## Function

### Synopsis

    cock.setMouseFactor ( self, x, y )

### Arguments

`table self`
  An object to use.
`number x`
  Optional. Scaling factor by X axis. Will use old value if not provided.
`number y`
  Optional. Scaling factor by Y axis. Will use old value if not provided.

## Remarks

Mouse readings will be multiplied by provided values. This is essentially a mouse sensevity.

## See also

- cock.setMouseOffset
- cock.getMouseFactor
- Common Organization of Controls Kit Fields
- Common Organization of Controls Kit Manual
- Common Organization of Controls Kit

Category:

- Functions