#Accessing scale_mode via code ?
1 messages · Page 1 of 1 (latest)
ProjetSettings are usually just read once at startup, so any changes to them at runtime have no effect.
I think it's possible to get the main window from the SceneTree using get_tree().root
And then use some method from the Window class to manipulate it..
I didnt find any property or method in Window or Viewport related to that :(
Godot Engine documentation
Inherits: Viewport< Node< Object Inherited By: AcceptDialog, Popup Base class for all windows, dialogs, and popups. Description: A node that creates a window. The window can either be a native syst...