diff --git a/docs/docs/reference/elements/iconbutton.md b/docs/docs/reference/elements/iconbutton.md index dceb767..4f48733 100644 --- a/docs/docs/reference/elements/iconbutton.md +++ b/docs/docs/reference/elements/iconbutton.md @@ -56,3 +56,5 @@ Determines if the element should be updated automatically **during your game/app ## Functions ### *void* update_element() Updates the element. +### *void* update_pressed(*bool* is_pressed) +Updates the internal button's value for `pressed`. Use this method to update `pressed`. diff --git a/docs/docs/reference/elements/textbutton.md b/docs/docs/reference/elements/textbutton.md index 241dade..9420570 100644 --- a/docs/docs/reference/elements/textbutton.md +++ b/docs/docs/reference/elements/textbutton.md @@ -36,3 +36,5 @@ Determines if the element should be updated automatically **during your game/app ## Functions ### *void* update_element() Updates the element. +### *void* update_pressed(*bool* is_pressed) +Updates the internal button's value for `pressed`. Use this method to update `pressed`.