# Lock the app to 1 Landscape but still get the orientation changes

**URL:** <https://forums.unrealengine.com/t/lock-the-app-to-1-landscape-but-still-get-the-orientation-changes/259924>\
**Category:** Mobile\
**Tags:** unreal-engine, iOS\
**Created:** [November 9, 2021, 5:08am UTC](https://forums.unrealengine.com/t/lock-the-app-to-1-landscape-but-still-get-the-orientation-changes/259924 "2021-11-09T05:08:02Z")\
**Posts on this page:** 1\
**Page:** 1

<div class="post-metadata">

**Author:** ![aaeim](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@aaeim](https://forums.unrealengine.com/u/aaeim)\
**Post date:** [November 9, 2021, 5:08am UTC](https://forums.unrealengine.com/t/lock-the-app-to-1-landscape-but-still-get-the-orientation-changes/259924/1 "2021-11-09T05:08:02Z")

</div>

Hi. My project settings are set to support only Landscape Right orientation, but I still want to know what orientation the device actually is. Is there an easy way to check this or do I have to check the tilt axis and calculate with the angles?  
I tried the GetDeviceOrientation node but it does’nt change when the sttings are locked to landscape.  
I also tried binding to `FCoreDelegates::ApplicationReceivedScreenOrientationChangedNotificationDelegate` but it also didn’t seem to get triggered. (Maybe I screwed up though. I’m not very experienced with c++)  
`FCoreDelegates::ApplicationReceivedScreenOrientationChangedNotificationDelegate.AddUFunction(this, "FOnOrientationChanged");`
