gr_template_delete_all
Syntax:
gr_template_delete_all([dont_destroy_gestures]);
Argument name | Type | Description |
---|---|---|
dont_destroy_gestures |
boolean |
If true, the gestures will be only removed from the template list without destroying them |
Description:
Removes all gestures from the templates list. By default, it also calls gr_gesture_destroy on each gesture to free the memory. If for some reason you only want to delete the gestures from the list but without destroying them, you can pass true as the optionaldont_destroy_gestures
argument.