import { Vector2 } from "https://deno.land/x/threejs_4_deno@v121/src/math/Vector2.js";
If this vector's x or y values are greater than the max value, they are replaced by the max value. If this vector's x or y values are less than the min value, they are replaced by the min value.