Module base.button
Component to handle basic GUI button
Functions
init(self, node, callback[, params[, anim_node[, event]]]) | Component init function |
disable_animation(self) | Disable all button animations |
set_click_zone(self, zone) | Strict button click area. |
Functions
- init(self, node, callback[, params[, anim_node[, event]]])
-
Component init function
Parameters:
- disable_animation(self)
-
Disable all button animations
Parameters:
- self table Component instance
- 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