Context
I use gui.animate() to make “myNode” scale up then down, but the player may cancel this animation by disabling the node (can’t prevent him to do that, question of UI design), if it happens, the node will stay scaled up forver, even if it is animated again. So I use :
local node = gui.get_node("myNode")
gui.set_scale(node, vmath.vector3(1,1,0))
and the the node is correctly rescaled but, the problem looks solved but I can’t click on the node anymore, if I delete this line everything works good, but I still have the previous problem.
PS : If you know any way to reset scale without gui.set_scale() it could be nice