Addition of vectors?

Can I do vector3 + vector3?
I need to sort gui, but I can’t get only x or y or z.

Yes, sure:

https://defold.com/codepad/#?c=#cp_sprite&s1=GYVwdgxgLglg9mABDMMoAoDOBTANsASgChFTFc4IBDXRANwEZEBeegWyqgAsA6O7aHABOAZnQMADBIA0iSTLlTiZcpRr0ATC3ade/QaPEKNCkROVkK1WnRHbGiANSaSZAA5CUGW8WxgAJkRAA===

1 Like