Reference

# Module `mouse`

awesome mouse API

Author:

Julien Danjou <julien@danjou.info>

Copyright© 2008-2009 Julien Danjou

## Functions

coords (coords_table, silent) | Get or set the mouse coords.
object_under_pointer () | Get the client or any object which is under the pointer.

## Tables

mouse | Mouse library.

## Functions

coords (coords_table, silent)
  Get or set the mouse coords.

  ### Parameters

  - coords_table: None or a table with x and y keys as mouse coordinates.
  - silent: Disable mouse::enter or mouse::leave events that could be triggered by the pointer when moving.

  ### Return value:

  A table with mouse coordinates.
object_under_pointer ()
  Get the client or any object which is under the pointer.

  ### Return value:

  A client or nil.

## Tables

mouse
  Mouse library. Fields
  - coords: Mouse coordinates.
  - screen: Mouse screen number.