sum

fun sum(): Vector2F

Returns the sum of all elements in the array.