Module druid.input

Component to handle hover node interaction

Functions

button:set_click_zone(self, zone) Strict button click area.
hover:init(self, node, on_hover_callback) Component init function


Functions

button:set_click_zone(self, zone)
Strict button click area. Useful for no click events outside stencil node

Parameters:

  • self table Component instance
  • zone node Gui node
hover:init(self, node, on_hover_callback)
Component init function

Parameters:

  • self table Component instance
  • node node Gui node
  • on_hover_callback function Hover callback
generated by LDoc 1.4.6 Last updated 2020-02-23 13:01:03