# Check if point is on Navmesh

**URL:** <https://forums.unrealengine.com/t/check-if-point-is-on-navmesh/372534>\
**Category:** AI\
**Tags:** ai-navigation, Navigation, unreal-engine, navmesh, CPP, question, Blueprint\
**Created:** [October 5, 2016, 4:45pm UTC](https://forums.unrealengine.com/t/check-if-point-is-on-navmesh/372534 "2016-10-05T16:45:16Z")\
**Posts on this page:** 2\
**Page:** 1

<div class="post-metadata">

**Author:** ![Lucas-G-Farina](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@Lucas-G-Farina](https://forums.unrealengine.com/u/Lucas-G-Farina)\
**Post date:** [October 5, 2016, 4:45pm UTC](https://forums.unrealengine.com/t/check-if-point-is-on-navmesh/372534/1 "2016-10-05T16:45:16Z")

</div>

Hey guys, what up?

I’m making a JumpConector actor, for navigation agents to jump between navmesh blocks, and I need a way of checking if two points are on the same navmesh block… How do I do that?

Thank you for any help you can provide

PS:I want to expose that check-function to blueprint…

---

<div class="post-metadata">

**Author:** ![WHSolv](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@WHSolv](https://forums.unrealengine.com/u/WHSolv)\
**Post date:** [October 6, 2016, 4:52am UTC](https://forums.unrealengine.com/t/check-if-point-is-on-navmesh/372534/2 "2016-10-06T04:52:04Z")

</div>

You need two coordinates of your navigation mesh (e.g., if your mesh is represented as ABCDA`B`C`D`, than you need A and C`). Than just use point-in-triangle test modified to 3D mesh. Like [this one](https://blogs.msdn.microsoft.com/rezanour/2011/08/07/barycentric-coordinates-and-point-in-triangle-tests/).
