sum

fun sum(): Vector2I

Returns the sum of all elements in the array.