Visual Script: World Nodes
World
World nodes provide access to the world instance, which is the top-level container for all game objects, components, and systems in a scene. These nodes allow you to interact with world-level functionality from within visual scripts.
Use world nodes to:
- Access the world instance - Get a reference to the current world object
- Query world state - Check world properties and settings
- World management - Interact with world-level systems and services
The world is fundamental to the engine's object hierarchy. Components belong to game objects, which belong to the world. Most visual scripts get world access through component methods like GetWorld(), allowing scripts to access world-level functionality regardless of which object they're attached to.