# What is the Vector3Int and what is the difference between Vector3Int and Vector3?

Hi, documentation says that Vector3Int is “Representation of 3D vectors and points using integers.”, but what does that mean exactly. For example when I have a Vector3(1, 1, 1) than Vector3Int of it will be 1 or what?

And also are the Vector3Int alternative for Vector3? Are they better/worse or something like that?

In Unity, Vector3Int is a structure that represents a 3D vector or point using integer values instead of floats, like the Vector3 structure does. The Vector3Int structure is useful for representing positions in a discrete grid, where each unit is represented by a single integer value.

For example, if you have a Vector3 with coordinates (1, 1, 1), the equivalent Vector3Int would have coordinates (1, 1, 1) as well. The difference is that the Vector3Int coordinates would be of type int instead of float, so they would be represented using whole numbers instead of decimal values.

As for whether Vector3Int is an alternative to Vector3, it depends on the context. In some cases, using Vector3Int may be more convenient or efficient than using Vector3, especially when working with grid-based systems. However, Vector3 is more versatile and can represent a wider range of values, so it may be more suitable in other situations. Ultimately, the choice between Vector3 and Vector3Int will depend on your specific requirements and the needs of your project.