# Disable Default UI Thumbstick Navigation?

**URL:** <https://forums.unrealengine.com/t/disable-default-ui-thumbstick-navigation/1203442>\
**Category:** UI\
**Tags:** UE-5, Navigation, unreal-engine, UI, question, Blueprint, CPP, UMG\
**Created:** [June 18, 2023, 9:06pm UTC](https://forums.unrealengine.com/t/disable-default-ui-thumbstick-navigation/1203442 "2023-06-18T21:06:16Z")\
**Posts on this page:** 1\
**Showing post:** 6

<div class="post-metadata">

**Author:** ![SumbodySumwher](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@SumbodySumwher](https://forums.unrealengine.com/u/SumbodySumwher)\
**Post date:** [January 26, 2024, 3:56pm UTC](https://forums.unrealengine.com/t/disable-default-ui-thumbstick-navigation/1203442/6 "2024-01-26T15:56:30Z")

</div>

The provided solution is not ideal and did not work for me.  
Here’s how I did it (described also here [Disable analog stick input on UMG? - #11 by SumbodySumwher](https://forums.unrealengine.com/t/disable-analog-stick-input-on-umg/351671/11) )

I created a function that accesses the NavigationConfig from FSlateApplication, and setts the bAnalogNavigation to true/false.

```cpp
#include "Framework/Application/NavigationConfig.h"

void AMyPlayerController::ToggleThumbstickUiNavigation(bool ThumbstickNavigationEnabled) {
	if (FSlateApplication::IsInitialized()) {
		TSharedRef<FNavigationConfig> currentNavConfig = FSlateApplication::Get().GetNavigationConfig();
		currentNavConfig->bAnalogNavigation = ThumbstickNavigationEnabled;
		FSlateApplication::Get().SetNavigationConfig(currentNavConfig);
	}
}

```

---

_[View the full topic](https://forums.unrealengine.com/t/disable-default-ui-thumbstick-navigation/1203442)._
