Module druid.input
Component to handle hover node interaction
Functions
hover:init(self, node, on_hover_callback) | Component init function |
button:set_click_zone(self, zone) | Strict button click area. |
Functions
- 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
- 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