class ButtonProps: Inky.Props | {[string]: any}
pressed: boolean

whether the button is pressed

pressedQuad: love.graphics.Quad

A quadrilateral (a polygon with four sides and four corners) with texture coordinate information.

Quads can be used to select part of a texture to draw. In this way, one large texture atlas can be loaded, and then split up into sub-images.

[Open in Browser](https://love2d.org/wiki/Quad)

unpressedQuad: love.graphics.Quad

A quadrilateral (a polygon with four sides and four corners) with texture coordinate information.

Quads can be used to select part of a texture to draw. In this way, one large texture atlas can be loaded, and then split up into sub-images.

[Open in Browser](https://love2d.org/wiki/Quad)

tileset: love.graphics.Texture

Superclass for drawable objects which represent a texture. All Textures can be drawn with Quads.

[Open in Browser](https://love2d.org/wiki/Texture)

onRelease: fun(pointer: Inky.Pointer)?

a function called after releasing the button

onPress: fun(pointer: Inky.Pointer)?

a function called after pressing the button

toggle: boolean

whether the button stays pressed after clicking

untoggle: boolean

if the button is toggleable, whether you can untoggle

hovered: boolean
hoveredQuad: love.graphics.Quad

A quadrilateral (a polygon with four sides and four corners) with texture coordinate information.

Quads can be used to select part of a texture to draw. In this way, one large texture atlas can be loaded, and then split up into sub-images.

[Open in Browser](https://love2d.org/wiki/Quad)

disabled: boolean
disabledQuad: love.graphics.Quad

A quadrilateral (a polygon with four sides and four corners) with texture coordinate information.

Quads can be used to select part of a texture to draw. In this way, one large texture atlas can be loaded, and then split up into sub-images.

[Open in Browser](https://love2d.org/wiki/Quad)

_internal: Inky.Props.Internal
class Button: Inky.Element