How can I set a Transparent Background?

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

Hello! I’m working on a Speedrun-Timer and I want to set a transparent Background. How can I do this?

Thanks :slight_smile:

:bust_in_silhouette: Reply From: timothybrentwood

Project → Project Settings → Display → Window → Per Pixel Transparency → Allowed and Project → Project Settings → Display → Window → Per Pixel Transparency → Enabled then call get_tree().get_root().set_transparent_background(true) from the _ready() of your root node.

This does not work in 4.0.

stormreaver | 2022-11-24 14:16