Wow, how embarrassing. After 3 hours of trying to figure this out, I post a question. Then 5 minutes later, I solve it by myself. I solved it, and becuase I don’t think it is possible to delete this post, I might as well show my answer. As it turns out, I was really close.
int FindFirst(Vector3[] array)
{
for (int i = 0; i <= thearraylength; i++)
{
if (array *== new Vector3(0f,0f,0f))*
{ return i; break; } } return -1; } This function will return the first location in the array of Vector3(0,0,0). If it is not found, it will return -1. edit- After looking at Erich5h’s answer, he has a much easier, and probably faster solution. Thank you Eric5h5.