Is there an alternative for OS.has_feature()?

Godot Version

4.4.1.stable

Question

Is there an alternative for OS.has_feature() since it’s now deprecated in the stable version?

Checking official docs it does not say it is deprecated anywhere. Where did you see that it is now deprecated? Afaik it is the only way to work with feature flags.

2 Likes


It says in here that it’s deprecated for some reason.

Ah, that is on RenderingServer I presume? Since Godot 3, that function is part of the OS singleton, which is probably what that warning is referring to.

1 Like

Nvm I’m dumb, I got it completely mixed up. Thanks for taking your time on answering my question.

2 Likes