How to have two different stretch modes?

:information_source: Attention Topic was automatically imported from the old Question2Answer platform.
:bust_in_silhouette: Asked By qdwang

There are two parts X and Y in my project.

X needs to be in 2D stretch mode, because it includes GUI and labels, etc. I need it to be sharp and large enough to display on a 4K monitor.

Y needs to be in ignore stretch mode for some pixel to pixel photo textures display without any stretch.

Is it possible to do this in godot 3.x?

:bust_in_silhouette: Reply From: slightly_seasoned

I found this: How to change the stretch (mode, aspect, shrink) by code?, think it might help you?