Yeah, I agree it would be great to have such functions internally! Meanwhile, you can use wrapper functions for this, e.g. I wrote an example here: https://forum.defold.com/t/big-list-of-defold-pro-tips/1519/98
3 Likes