How to work with ents.FindInBox( Vector, Vector )

Okay, hello!

I’m trying to use ents.FindInBox for position of an entity, something like 2M around it and entity should be in middle, I need help with ents.FindInBox, I can’t understand how vectors work, Here is what i’m trying to detect:

I know my painting sucks but no way else i can explain thing i’m going to do easier.

You are trying to find entities in a 2m box?

[lua]local pos = ent:GetPos()
ents.FindInBox(pos + Vector(-2, -2, -2), pos + Vector(2, 2, 2))[/lua]

Thanks, same thing i wanted to know, i didn’t know i can use pos + vector, but since they’re both vectors seems cool, Thank you!