coerceAtMost

inline fun coerceAtMost(maximum: Vector2I): Vector2I

Returns a vector composed of x and y components that are not greater than the specified maximum components.