is there a code to change the scale of a texturebutton in script?
button_down() -> scale up
button_up() -> scale down (back)
Yes, with the property rect_scale of textureButton:
$text_button.rect_scale *= 2
#$text_button.rect_scale = Vector2(2, 2)
yes, i found this command, too...but i used it in the wrong way xD
Thank you for the snipset Problem solved