The-any-Key Posted October 28, 2019 Share Posted October 28, 2019 Trying to scale a widget along with the game screen size. But... local curhudscale = GLOBAL.TheFrontEnd:GetHUDScale() ...always return 0.925 even when changed game screen size. I thought this would return a HUD scale value that could be used to scale the widget accordingly. Link to comment https://forums.kleientertainment.com/forums/topic/113130-get-hud-scale-to-scale-widget-on-screen-resize/ Share on other sites More sharing options...
The-any-Key Posted November 2, 2019 Author Share Posted November 2, 2019 Ok. Found out you can use: controls.top_root:GetScale() Link to comment https://forums.kleientertainment.com/forums/topic/113130-get-hud-scale-to-scale-widget-on-screen-resize/#findComment-1279767 Share on other sites More sharing options...
Recommended Posts
Create an account or sign in to comment
You need to be a member in order to leave a comment
Create an account
Sign up for a new account in our community. It's easy!
Register a new accountSign in
Already have an account? Sign in here.
Sign In Now