# Vec3.InRadius

```
bool InRadius(Vec3 pt, float radius)
```

Checks if a point is within a certain radius of this one. This is an easily readable shorthand of the squared distance check.

Vec3 pt | The point to check against. |

float radius | The distance to check against. |

RETURNS: bool | True if the points are within radius of eachother, false not. |

```
static bool InRadius(Vec3 a, Vec3 b, float radius)
```

Checks if two points are within a certain radius of eachother. This is an easily readable shorthand of the squared distance check.

Vec3 a | The first point. |

Vec3 b | And the second point! |

float radius | The distance to check against. |

RETURNS: bool | True if a and b are within radius of eachother, false not. |

Found an issue with these docs, or have some additional questions? Create an Issue on Github!