Vector:WithinAABox
Example
Checks if player is within a certain area on the map.
Example
Implement a function to check if world position is inside an entity by converting it to local coordinates that are always axis aligned. Do not check when entity is invalid.

Garry's Mod
Rust
Steamworks
Wiki Help