# Can't access PathFollowingComp in CharacterMovementComponent

**URL:** <https://forums.unrealengine.com/t/cant-access-pathfollowingcomp-in-charactermovementcomponent/362168>\
**Category:** Character & Animation\
**Tags:** unreal-engine, navmesh, Components, question\
**Created:** [June 27, 2016, 3:08pm UTC](https://forums.unrealengine.com/t/cant-access-pathfollowingcomp-in-charactermovementcomponent/362168 "2016-06-27T15:08:20Z")\
**Posts on this page:** 2\
**Page:** 1

<div class="post-metadata">

**Author:** ![Thumper](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@Thumper](https://forums.unrealengine.com/u/Thumper)\
**Post date:** [June 27, 2016, 3:08pm UTC](https://forums.unrealengine.com/t/cant-access-pathfollowingcomp-in-charactermovementcomponent/362168/1 "2016-06-27T15:08:20Z")

</div>

I’m extending the characterMovementComponent so that I can override many of the virtual functions. I see many instances of

```
if (PathFollowingComp.IsValid())
	{
		PathFollowingComp->OnLanded();
	}

```

scattered throughout it. Specifically I’m looking at the ProcessLanded function. My extended class does not see this function in the parent class. How do I access it from the child class?

---

<div class="post-metadata">

**Author:** ![Thumper](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@Thumper](https://forums.unrealengine.com/u/Thumper)\
**Post date:** [June 27, 2016, 3:31pm UTC](https://forums.unrealengine.com/t/cant-access-pathfollowingcomp-in-charactermovementcomponent/362168/2 "2016-06-27T15:31:53Z")

</div>

This works for the if statement

```
if (UNavMovementComponent::PathFollowingComp.IsValid())
	{
		PathFollowingComp->OnLanded();
	}

```

Adding the UNavMovementComponent namespace, but it doesn’t work on the OnLanded call.
