GUI animation with duration zero

You would normally expect the following code to immediately make the box translucent. Instead, it does nothing.

gui.animate(gui.get_node("box"), hash("color.w"), 0.5, gui.EASING_LINEAR, 0)

Setting duration to any non-zero value has the expected result. I confirmed this bug can be reproduced in a new project.

1 Like

Thanks, this is a known bug. I’ll check what JIRA id it got.

1 Like