How to see installed modules

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

I’m trying to find out if a particular module is compiled with the version of Godot I’m using (v3.0.1.stable.official).

I’m looking at using the websockets module. It is in the modules folder of the GitHub repo, but I haven’t seen it mentioned in any patch notes. I’m wondering if it was included in the most recent release, or if I will have to compile the engine myself.

Cheers

:bust_in_silhouette: Reply From: pgregory

In the register_types.cpp for the module, you’ll see which classes and instances are registered. If you check for the existence of those in GDScript, using ClassDB.can_instance or Engine.has_singleton you should be able to determine if the module has been built into the version of Godot you’re running.